AptLynx

Command-line tool

fakeroot

brew/fakeroot

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Provide a fake root environment

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install fakeroot

Linux

brew install fakeroot

Start the default shell as fakeroot

fakeroot

Run a command as fakeroot

fakeroot -- command command_arguments

Run a command as fakeroot and [s]ave the environment to a file on exit

fakeroot -s path/to/file -- command command_arguments

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents