Installation
Installing Faber
Section titled “Installing Faber”Faber is distributed as part of the unified Fractary CLI.
Prerequisites
Section titled “Prerequisites”- Node.js 18.0.0 or higher
- npm 9.0.0 or higher
Installation
Section titled “Installation”Global Installation (Recommended)
Section titled “Global Installation (Recommended)”npm install -g @fractary/cliVerify installation:
fractary --versionfractary faber --helpLocal Installation (Project-Specific)
Section titled “Local Installation (Project-Specific)”npm install --save-dev @fractary/cliUse via npx:
npx fractary faber initNext Steps
Section titled “Next Steps”Troubleshooting
Section titled “Troubleshooting”Permission Errors (EACCES)
Section titled “Permission Errors (EACCES)”If you get permission errors during global installation:
# Option 1: Use npx (no global install needed)npx @fractary/cli faber init
# Option 2: Configure npm to use a different directorymkdir ~/.npm-globalnpm config set prefix '~/.npm-global'echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrcsource ~/.bashrcnpm install -g @fractary/cliVersion Conflicts
Section titled “Version Conflicts”To update to the latest version:
npm update -g @fractary/cli