scmd-cli
v0.5.1
Published
AI-powered slash commands for any terminal. Works offline by default.
Maintainers
Readme
scmd-cli
AI-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.
Installation
npm install -g scmd-cliQuick Start
# Use the built-in explain command
scmd /explain "what is a goroutine"
# Generate commit messages from git diff
git diff --staged | scmd /gc
# Review code
cat myfile.go | scmd reviewRequirements
For offline functionality, install llama.cpp:
# macOS
brew install llama.cpp
# Linux
# Build from source: https://github.com/ggerganov/llama.cppDocumentation
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
/commanddirectly in your terminal - Multiple LLM Backends - Supports llama.cpp, Ollama, OpenAI, and more
- Shell Integration - Works with Bash, Zsh, and Fish
Other Installation Methods
Homebrew (macOS/Linux)
brew install scmd/tap/scmdShell Script
curl -fsSL https://scmd.sh/install.sh | bashBinary Download
Download from GitHub Releases
License
MIT
