Skip to Content
DocsReferenceConfiguration

Configuration

nextbrew has no configuration file. It is configured with global options and environment variables.

Global options

FlagMeaning
--root <ROOT>Path to the nextbrew data directory (env NEXTBREW_ROOT)
--prefix <PREFIX>Path to the Homebrew-style prefix (overrides NEXTBREW_PREFIX)
--concurrency <CONCURRENCY>Number of concurrent download threads (default 20)
--auto-initInitialize without prompting (env NEXTBREW_AUTO_INIT)
-v, --verboseIncrease output verbosity
-q, --quietSuppress output, only show errors
-V, --versionPrint version

Directories

The root holds store, db, cache and locks. The prefix holds bin and Cellar, like a Homebrew prefix.

PlatformRootPrefix
macOS/opt/nextbrewsame as root
Linux, default/home/nextbrew/.nextbrewsame as root
Linux, other rootthe root you set<root>/prefix

nb init creates these directories and adds nextbrew to your shell config.

Last updated on