macOS Setup Guide
Complete guide to installing and configuring Bootspring on macOS.
System Requirements#
| Requirement | Minimum | Recommended |
|---|---|---|
| macOS | 10.15 Catalina | 13 Ventura+ |
| Processor | Intel or Apple Silicon | Apple Silicon |
| Memory | 4 GB RAM | 8 GB RAM |
| Disk | 500 MB | 1 GB |
| Node.js | v18.0.0 | v20.x LTS |
Installation Methods#
Method 1: Homebrew (Recommended)#
The easiest way to install on macOS:
1# Install Homebrew if needed
2/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3
4# Install Node.js
5brew install node
6
7# Install Bootspring
8npm install -g bootspring
9
10# Verify
11bootspring --versionMethod 2: npm Direct#
If you already have Node.js:
npm install -g bootspringMethod 3: nvm (Version Management)#
For managing multiple Node.js versions:
1# Install nvm
2curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
3
4# Restart terminal or source profile
5source ~/.zshrc
6
7# Install Node.js LTS
8nvm install --lts
9nvm use --lts
10
11# Install Bootspring
12npm install -g bootspringShell Configuration#
Zsh (Default on macOS)#
Add to ~/.zshrc:
1# Bootspring completions
2if command -v bootspring &> /dev/null; then
3 eval "$(bootspring completions zsh)"
4fi
5
6# Aliases (optional)
7alias bs="bootspring"
8alias bsg="bootspring generate"
9alias bsa="bootspring agent invoke"Apply changes:
source ~/.zshrcBash#
Add to ~/.bash_profile:
# Bootspring completions
if command -v bootspring &> /dev/null; then
eval "$(bootspring completions bash)"
fiApply changes:
source ~/.bash_profileAuthentication#
Browser Login#
bootspring loginThis opens your default browser for authentication.
Device Code (Headless)#
For remote sessions or terminals without browser access:
bootspring login --deviceFollow the instructions to enter the code at bootspring.dev/device.
API Key Authentication#
For CI/CD environments:
export BOOTSPRING_API_KEY="bs_live_xxx"
bootspring statusAdd to ~/.zshrc for persistence:
echo 'export BOOTSPRING_API_KEY="bs_live_xxx"' >> ~/.zshrcProject Setup#
Initialize New Project#
cd ~/Projects/my-app
bootspring initInteractive Setup#
bootspring init --interactiveWalks you through:
- Project type selection
- Framework detection
- Agent configuration
- Context generation
Quick Setup#
bootspring init --yesUses defaults based on detected project structure.
Claude Desktop Integration#
Install Claude Desktop#
- Download from claude.ai/download
- Install the application
- Sign in with your Anthropic account
Configure MCP Server#
bootspring mcp installThis automatically:
- Locates Claude Desktop config
- Adds Bootspring MCP server
- Configures permissions
Manual Configuration#
If automatic setup fails, edit ~/Library/Application Support/Claude/claude_desktop_config.json:
1{
2 "mcpServers": {
3 "bootspring": {
4 "command": "npx",
5 "args": ["-y", "bootspring", "mcp", "serve"],
6 "env": {
7 "BOOTSPRING_API_KEY": "your-api-key"
8 }
9 }
10 }
11}Verify MCP Connection#
- Open Claude Desktop
- Look for "bootspring" in available tools
- Test with: "Use bootspring_context to describe this project"
VS Code Integration#
Install Extension#
code --install-extension bootspring.bootspring-vscodeOr install via VS Code:
- Open Extensions (Cmd+Shift+X)
- Search "Bootspring"
- Install
Configure Extension#
Settings (Cmd+,):
{
"bootspring.autoGenerate": true,
"bootspring.showStatusBar": true,
"bootspring.agentShortcuts": true
}Terminal Integration#
VS Code's integrated terminal works seamlessly:
# From VS Code terminal
bootspring generate
bootspring agent invoke frontend-expert "Help with this component"iTerm2 Setup#
Install iTerm2#
brew install --cask iterm2Configure Profile#
- Open iTerm2 Preferences (Cmd+,)
- Profiles → Default → General
- Set "Send text at start" to:
eval "$(bootspring completions zsh)"
Shell Integration#
# Install iTerm2 shell integration
curl -L https://iterm2.com/shell_integration/zsh -o ~/.iterm2_shell_integration.zsh
echo 'source ~/.iterm2_shell_integration.zsh' >> ~/.zshrcWarp Terminal#
Warp works out of the box with Bootspring:
# Completions work automatically
bootspring [TAB]Warp Workflows#
Create a Warp workflow for common tasks:
# ~/.warp/workflows/bootspring-start.yaml
name: Bootspring Start
command: bootspring generate && bootspring status
description: Generate context and check statusRaycast Integration#
Install Bootspring Extension#
- Open Raycast (Cmd+Space)
- Search "Store"
- Find "Bootspring"
- Install
Quick Commands#
bs generate- Generate contextbs agents- List agentsbs invoke [agent]- Invoke agent
Script Commands#
Create custom Raycast scripts:
1#!/bin/bash
2# ~/.config/raycast/scripts/bootspring-generate.sh
3
4# Required parameters:
5# @raycast.schemaVersion 1
6# @raycast.title Generate Bootspring Context
7# @raycast.mode silent
8
9cd "$PWD" && bootspring generateSpotlight/Alfred Integration#
Alfred Workflow#
- Download Bootspring Alfred Workflow
- Import into Alfred
- Use
bskeyword
Custom Workflow#
# Alfred script filter
bootspring agent list --jsonApple Silicon Notes#
Rosetta Compatibility#
Bootspring runs natively on Apple Silicon. No Rosetta needed.
Node.js on M1/M2/M3#
Ensure native ARM build:
1# Check architecture
2node -p "process.arch"
3# Should output: arm64
4
5# If x64, reinstall Node.js
6brew uninstall node
7brew install nodeKeychain Integration#
Store API key securely:
1# Add to Keychain
2security add-generic-password -a "$USER" -s "bootspring-api-key" -w "bs_live_xxx"
3
4# Retrieve in scripts
5API_KEY=$(security find-generic-password -a "$USER" -s "bootspring-api-key" -w)
6export BOOTSPRING_API_KEY="$API_KEY"Add to ~/.zshrc:
export BOOTSPRING_API_KEY=$(security find-generic-password -a "$USER" -s "bootspring-api-key" -w 2>/dev/null)Troubleshooting#
Command Not Found#
1# Check PATH
2echo $PATH
3
4# Find npm global bin
5npm bin -g
6
7# Add to PATH if missing
8echo 'export PATH="$(npm bin -g):$PATH"' >> ~/.zshrc
9source ~/.zshrcPermission Denied#
1# Fix npm permissions (recommended)
2mkdir -p ~/.npm-global
3npm config set prefix '~/.npm-global'
4echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.zshrc
5source ~/.zshrc
6
7# Reinstall
8npm install -g bootspringSSL Certificate Errors#
# Update CA certificates
brew install ca-certificates
# Or temporarily disable strict SSL (not recommended)
npm config set strict-ssl falseGatekeeper Blocking#
If macOS blocks execution:
# Allow in Security settings
# System Preferences → Security & Privacy → General → Allow
# Or via terminal
xattr -d com.apple.quarantine $(which bootspring)Node.js Version Issues#
1# Check version
2node --version
3
4# Upgrade via Homebrew
5brew upgrade node
6
7# Or use nvm
8nvm install 20
9nvm use 20Health Check#
Run comprehensive diagnostics:
bootspring doctorExpected output:
Bootspring Health Check
=======================
System:
✓ macOS 14.2.1 (Sonoma)
✓ Apple M2 Pro
✓ 16 GB RAM
Runtime:
✓ Node.js v20.10.0 (arm64)
✓ npm v10.2.3
✓ Bootspring v1.2.0
Configuration:
✓ Config file: Valid
✓ Context file: Present
✓ API key: Configured
Network:
✓ API: Connected
✓ Latency: 45ms
Integrations:
✓ Claude Desktop: Configured
✓ VS Code: Extension installed
All 12 checks passed!
Uninstallation#
Remove Bootspring#
npm uninstall -g bootspringClean Configuration#
rm -rf ~/.bootspring
rm -rf ~/Library/Application\ Support/bootspringRemove Shell Completions#
Edit ~/.zshrc and remove Bootspring lines.
Remove MCP Configuration#
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and remove the bootspring entry.