Skip to content

Installation

Faber is distributed as part of the unified Fractary CLI.

  • Node.js 18.0.0 or higher
  • npm 9.0.0 or higher
Terminal window
npm install -g @fractary/cli

Verify installation:

Terminal window
fractary --version
fractary faber --help
Terminal window
npm install --save-dev @fractary/cli

Use via npx:

Terminal window
npx fractary faber init

If you get permission errors during global installation:

Terminal window
# Option 1: Use npx (no global install needed)
npx @fractary/cli faber init
# Option 2: Configure npm to use a different directory
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
npm install -g @fractary/cli

To update to the latest version:

Terminal window
npm update -g @fractary/cli