Quick Install
The fastest way to install Forge is using our installation script:- Detects your operating system and architecture
- Downloads the appropriate binary
- Installs Forge to your system
- Sets up necessary permissions
The installation script supports macOS, Linux, and Windows (via WSL).
Installation Methods
- Curl (Recommended)
- From Source
- Package Managers
Provider Setup
After installing Forge, you need to configure an AI provider. Forge supports multiple providers including OpenAI, Anthropic, Google Vertex AI, and more.Interactive Configuration
The easiest way to configure providers is using the interactive login:- Show you a list of available providers
- Prompt for required credentials (API keys, tokens, etc.)
- Securely store credentials in file-based storage
- Validate the configuration
Select your provider
Choose from the list of supported providers:
- OpenAI
- Anthropic
- Google Vertex AI
- OpenRouter
- Cerebras
- And more…
Supported Providers
OpenAI
OpenAI
Configure OpenAI for access to GPT models:Then set your preferred model:Get your API key from platform.openai.com.
Anthropic
Anthropic
Google Vertex AI
Google Vertex AI
OpenRouter
OpenRouter
Other Providers
Other Providers
Forge supports many other providers:
- Cerebras: High-performance inference
- Groq: Fast LLM inference
- x.ai: Grok models
- Amazon Bedrock: Via Bedrock Access Gateway
- OpenAI-compatible: Any OpenAI API-compatible endpoint
forge list provider to see all available providers.Verify Installation
After installation and configuration, verify everything is working:Shell Integration (Optional)
Enhance your terminal experience with Forge’s ZSH integration:- Installs the ZSH plugin for command shortcuts
- Sets up the ZSH theme with model/cost display
- Configures keyboard shortcuts
- Enables natural language command transformation
Shell integration is currently available for ZSH. Bash and Fish support coming soon.
What You Get
- Command shortcuts: Type
# your natural language commandand press Enter - Visual feedback: See current model and conversation cost in your prompt
- Keyboard shortcuts: Quick access to Forge commands
- Tab completion: Auto-complete for all Forge commands
Next Steps
Quick Start Guide
Learn the basics and start your first session
Configure Providers
Deep dive into provider configuration
Shell Integration
Set up ZSH plugin and theme
Command Reference
Explore all available commands
Troubleshooting
Command not found: forge
Command not found: forge
The installation directory is not in your PATH.Solution: Add the installation directory to your PATH:
Provider authentication failed
Provider authentication failed
Invalid API key or token.Solution: Verify your credentials and re-run:
Permission denied
Permission denied
The binary doesn’t have execute permissions.Solution: Make the binary executable:
SSL/TLS certificate errors
SSL/TLS certificate errors
Certificate verification issues.Solution: Check system time and update CA certificates: