Generate a Random Identity With rig

Produce a fake name, street address, city and phone number.

macOSrandomscriptingLow risk
Run rig to print a random fake person and address.

01Command

Command
$ rig

02What it does

rig composes a plausible identity from bundled name, address and area-code data, which is handy for populating demos and test fixtures. Run it repeatedly for more records, or pipe several runs into a file. On Linux the equivalent tool is often part of the bsdgames package.

03Risk

RiskLow risk
Requirementsbrew install rig
CompatibilitymacOS with Homebrew installed
!Warning: The generated identities are fictional; never use them to impersonate a real person.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-09-20 · Category: Developer