Installation
Get buildwithnexus running in seconds.
Quick Start
npm install -g buildwithnexus
buildwithnexus
That's it! You'll be prompted to set up your API keys on first run.
Requirements
| Requirement | Details |
|------------|---------|
| Node.js | >= 18 |
| npm | >= 8 |
| Anthropic API Key | sk-ant-... from console.anthropic.com |
Optional:
- OpenAI API key (for GPT-4 support)
- Google API key (for Gemini support)
Installation Methods
Global Install (Recommended)
npm install -g buildwithnexus
buildwithnexus
Local Install
npx buildwithnexus
From Source
git clone https://github.com/Garrett-s-Apps/buildwithnexus.git
cd buildwithnexus
npm install
npm run build
node dist/bin.js
Configuration
On first run, buildwithnexus will ask for your API keys. Keys are stored securely in:
~/.buildwithnexus/.env.keys
To update keys later:
buildwithnexus da-init
Verify Installation
buildwithnexus --version
buildwithnexus --help
Uninstall
npm uninstall -g buildwithnexus
rm -rf ~/.buildwithnexus
Troubleshooting
"Command not found: buildwithnexus"
Make sure npm global bins are in your PATH:
npm config get prefix
Add to your shell profile if needed:
export PATH="$(npm config get prefix)/bin:$PATH"
"ANTHROPIC_API_KEY not set"
- Run
buildwithnexus da-initto set keys - Or set environment variable:
export ANTHROPIC_API_KEY=sk-ant-...
API Key Issues
Keys are validated on startup. Ensure:
- Key format is correct (
sk-ant-prefix for Anthropic) - Key has sufficient permissions in your Anthropic account
- No trailing whitespace in the key