AI-powered slash commands for any terminal. Works offline by default.
npm install scmd-cliAI-powered slash commands for any terminal. Works offline by default.
This is the npm distribution of scmd. For the main project, see scmd on GitHub.
``bash`
npm install -g scmd-cli
`bashUse the built-in explain command
scmd /explain "what is a goroutine"
Requirements
For offline functionality, install llama.cpp:
`bash
macOS
brew install llama.cppLinux
Build from source: https://github.com/ggerganov/llama.cpp
`Documentation
For full documentation, visit: https://github.com/scmd/scmd
Features
- Offline-First - Works with local models via llama.cpp, no API keys required
- Auto-Download Models - Qwen models download automatically on first use
- Real Slash Commands - Type
/command directly in your terminal
- Multiple LLM Backends - Supports llama.cpp, Ollama, OpenAI, and more
- Shell Integration - Works with Bash, Zsh, and FishOther Installation Methods
$3
`bash
brew install scmd/tap/scmd
`$3
`bash
curl -fsSL https://scmd.sh/install.sh | bash
``Download from GitHub Releases
MIT