Skip to main content
Amp is a powerful AI coding agent developed by Sourcegraph that can run in the terminal or as an IDE extension. It helps you with software engineering tasks using natural language. When combined with Coding Plan, Amp’s capabilities are further enhanced — access powerful models like Claude Opus 4.5 and Gemini 3 Pro at a fraction of the cost.

System Requirements

Before installing, ensure you have:
  • macOS / Linux / WSL: curl (usually pre-installed)
  • Windows Native: Node.js version 18 or higher
  • Stable internet connection

Step 1: Install Amp CLI

Recommended method. Supports auto-updating and fast launch via Bun.
curl -fsSL https://ampcode.com/install.sh | bash
If you encounter permission errors, try running with sudo:
curl -fsSL https://ampcode.com/install.sh | sudo bash

Verify Installation

After installation, verify Amp is working:
amp --version

Step 2: Configure Coding Plan

After installing Amp, configure it to use Coding Plan. Choose one of the following methods:
Amp CLI uses two configuration files:
  • Settings file: ~/.config/amp/settings.json - General settings
  • Secrets file: ~/.local/share/amp/secrets.json - Sensitive credentials (API keys)
Create directories if they don’t exist:
mkdir -p ~/.config/amp ~/.local/share/amp
Edit ~/.config/amp/settings.json:
{
  "amp.url": "https://api.vibecodecheap.com"
}
Edit ~/.local/share/amp/secrets.json:
{
  "apiKey@https://api.vibecodecheap.com": "your_api_key"
}
Replace your_api_key with your VibeCodeCheap API Key.
With this configuration, the amp login command is no longer necessary.

Step 3: Use Amp CLI

You are now ready to use Amp. All requests will be routed through Coding Plan.
# Run interactively
amp

# Or run with a prompt
amp "Write a hello world program in Python"

Step 4: (Optional) Configure Amp IDE Extension

The proxy also works with Amp IDE extensions for VS Code, Cursor, Windsurf, etc.
  1. Open your IDE and install the Amp extension from the marketplace
  2. Open Amp extension settings
  3. Set Amp URL to
  4. Set Amp API Key to your VibeCodeCheap API Key
  5. Start using Amp in your IDE
Both CLI and IDE can use the proxy simultaneously.

Troubleshooting

  • macOS/Linux: Ensure ~/.local/bin or the install path is added to your PATH
  • Windows: Restart your terminal or check the npm global bin path
# Check npm global path
npm config get prefix
  • macOS/Linux: Try running with sudo or use npm with --prefix
  • Windows: Open PowerShell/Cmd as Administrator
  • Check your internet connection
  • If using VPN or corporate proxy, try disabling it or configure proxy for npm/curl
  • Ensure firewall isn’t blocking api.vibecodecheap.com
  • Verify the API key is copied correctly (no extra whitespace)
  • Ensure the API key is still valid in the Coding Plan dashboard
  • Check the correct format in the secrets file
Create it manually:
# macOS/Linux
mkdir -p ~/.config/amp ~/.local/share/amp

# Windows PowerShell
New-Item -ItemType Directory -Force -Path "$env:APPDATA\amp"
Done! You can now use Amp with Coding Plan for AI-powered development.