General Questions
What is the MegaLLM CLI?
What is the MegaLLM CLI?
Which AI tools are supported?
Which AI tools are supported?
- Claude Code - System-level and project-level configuration
- Codex/Windsurf - System-level configuration only
- OpenCode - System-level and project-level configuration
Do I need to install the CLI?
Do I need to install the CLI?
What are the system requirements?
What are the system requirements?
- Node.js: Version 18.0.0 or higher
- Operating System: macOS, Linux, or Windows
- Shell: bash, zsh, fish, or PowerShell
node --versionInstallation & Setup
How do I get a MegaLLM API key?
How do I get a MegaLLM API key?
- Visit megallm.io/dashboard
- Sign up or log in to your account
- Navigate to the API Keys section
- Click “Create New API Key”
- Copy your API key (starts with
sk-mega-) - Save it securely - you won’t be able to see it again
What's the difference between system-level and project-level configuration?
What's the difference between system-level and project-level configuration?
- Applies to all projects on your machine
- Stored in your home directory (
~/.claude/,~/.codex/, etc.) - Best for personal development environments
- Easier to manage for single developers
- Applies only to the current project directory
- Stored in the project folder (
./.claude/,./opencode.json, etc.) - Best for team projects with shared configurations
- Allows different API keys per project
- Can be version-controlled (without exposing API keys)
How do I configure multiple tools?
How do I configure multiple tools?
Will the CLI install AI tools if they're missing?
Will the CLI install AI tools if they're missing?
Configuration
Where are configuration files stored?
Where are configuration files stored?
- System:
~/.claude/settings.json,~/.claude.json - Project:
./.claude/settings.jsonor./.claude/settings.local.json
- System:
~/.codex/config.toml
- System:
~/.config/opencode/opencode.json - Project:
./opencode.json
- bash:
~/.bashrc - zsh:
~/.zshrc - fish:
~/.config/fish/config.fish - PowerShell: PowerShell profile
What if I already have MegaLLM configured?
What if I already have MegaLLM configured?
- Create backup files (
.backupsuffix) - Remove old configuration
- Apply new configuration
How do I update my API key?
How do I update my API key?
Can I use different API keys for different projects?
Can I use different API keys for different projects?
.claude/settings.json with its own API key.Troubleshooting
The CLI says a tool is installed but I can't find it
The CLI says a tool is installed but I can't find it
- NPM global package list
- Command availability in PATH
- Known installation directories
- Ensure the tool is installed globally:
npm list -g --depth=0 - Check if the command is available:
which claude-codeorwhich codex - Restart your terminal
- Try installing manually:
npm install -g @anthropic-ai/claude-code
I get 'permission denied' errors
I get 'permission denied' errors
- Run your terminal as Administrator
- Or: Fix permissions in File Explorer → Properties → Security
My configuration isn't being used
My configuration isn't being used
I get 'Invalid API key' errors
I get 'Invalid API key' errors
- Verify key format: Should start with
sk-mega- - Check for typos: Copy-paste the key directly from the dashboard
- Trim whitespace: Remove any spaces before/after the key
- Key length: Must be at least 20 characters
- Regenerate: Create a new API key at megallm.io/dashboard
How do I completely remove MegaLLM configuration?
How do I completely remove MegaLLM configuration?
~/.bashrc, ~/.zshrc, etc.) and remove these lines:source ~/.bashrc or restart terminal.Can I see what the CLI is doing in detail?
Can I see what the CLI is doing in detail?
- System detection
- Tool detection
- File operations
- Configuration changes
- Error stack traces
Advanced Usage
Can I use the CLI in CI/CD pipelines?
Can I use the CLI in CI/CD pipelines?
How do I configure MegaLLM in a Docker container?
How do I configure MegaLLM in a Docker container?
Can I version control my configuration?
Can I version control my configuration?
- Project-level configuration WITHOUT API keys
.claude/settings.jsonwith onlyANTHROPIC_BASE_URL- Documentation for team members
- API keys
.claude/settings.local.json- Personal environment variables
.claude/settings.json for version control:.gitignore:Can I use different models with each tool?
Can I use different models with each tool?
~/.claude/settings.json):~/.codex/config.toml):~/.config/opencode/opencode.json):What happens to my backups?
What happens to my backups?
.backup suffix and contain your previous configuration.To restore from backup:Getting Help
Where can I get support?
Where can I get support?
- Main Docs: docs.megallm.io
- API Reference: docs.megallm.io/api
- Email: support@megallm.io
- GitHub Issues: github.com/Megallm/megallm-npm/issues
- Discord: discord.gg/devsindia
- Twitter/X: @megallmio
- YouTube: youtube.com/@Megallmio
How do I report a bug?
How do I report a bug?
- Check existing issues: github.com/Megallm/megallm-npm/issues
- If not found, create a new issue with:
- CLI version:
npx megallm@latest --version - Node.js version:
node --version - Operating system
- Shell type
- Error message/logs (run with
DEBUG=*) - Steps to reproduce
- CLI version:
How do I request a feature?
How do I request a feature?
- Description of the feature
- Use case / why it’s needed
- Any relevant examples or mockups

