SCMD_
BETA v0.5.1

Local-first, private AI companion for your shell.

βœ… 100% Local
πŸ’° $0/Month
πŸ”’ Total Privacy
⚑ 5-8s Response
πŸ“¦ 100+ Commands
πŸ’¬ Multi-Turn Chat

Free Offline AI Terminal Assistant for Developers

scmd brings professional AI code review, command generation, and chat to your terminal with zero API costs and 100% privacy.

Local-first AI that works completely offline. Perfect for secure environments, GDPR compliance, and developers who value privacy. No subscriptions, no cloud dependencies, no data uploads.

Get Started Free View Comparison

01. when_to_use_scmd

scmd is designed as a supplementary tool for quick terminal tasks. Use it alongside your existing AI tools for maximum productivity.

Feature scmd (Local) Cloud AI Services
Best For Quick shell tasks, code reviews, command generation Complex reasoning, large codebases, multi-file editing
Cost $0 forever Subscription-based
Privacy 100% local, nothing sent externally Data sent to cloud servers
Offline Support βœ… Works fully offline ❌ Requires internet
Speed 5-8s (no network latency) Varies (network dependent)
Extensibility YAML templates, 100+ community commands Varies by service
Model Power Smaller models (0.5B-7B) Large frontier models
πŸ’‘ Pro tip: Use scmd for terminal convenience and privacy-sensitive work. Reach for cloud services when you need deep reasoning or complex multi-file changes.

02. bootstrap_sequence

# Homebrew (macOS/Linux)
brew install sunboylabs/tap/scmd
# NPM (Global)
npm install -g scmd-cli

03. local_first_advantages

Why Local-First Matters

πŸ”’

Total Privacy & Security

Your proprietary code never leaves your machine. No cloud uploads, no data mining, no compliance risks. Work with sensitive codebases in regulated industries without privacy concerns.

πŸ’°

Zero Recurring Costs

No subscriptions, no API tokens, no surprise bills. One-time install, unlimited usage. Perfect for teams that want predictable costs and enterprise budget control.

✈️

Air-Gapped Ready

Works perfectly offline. Essential for secure environments, remote locations, or anywhere network access is restricted. No internet dependency means no downtime.

⚑

Low Latency Performance

5-8 second response times on modern hardware. No network round trips, no API rate limits. Your hardware, your speedβ€”especially fast with GPU acceleration.

🎯

Full Control & Customization

Choose your own models, customize every prompt, extend with YAML templates. No vendor lock-in or forced updates. Own your AI infrastructure completely.

🌍

Compliance & Sovereignty

Meet GDPR, HIPAA, SOC2 requirements effortlessly. Data sovereignty guaranteedβ€”your code stays in your jurisdiction. No third-party data processors to audit.

πŸ’¬

Multi-Turn Chat

Natural conversations with context retention. Start a session with scmd chat and iterate on complex problems.

πŸ› οΈ

Man-Page Aware

AI command generation powered by your system's actual documentation. Accurate, OS-specific output every time.

πŸ”

Safe Review

Get expert-level code reviews instantly. Detect security vulnerabilities without sending proprietary code to the cloud.

πŸ“¦

100+ Commands

Install commands like npm packages. 8 categories: git, code, devops, docs, debug, data, security, shell. scmd repo search

🎨

Beautiful Output

Syntax highlighting for 40+ languages. Markdown rendering with themes. Auto-detection for piped output.

πŸ“

Template System

6 professional templates: security-review, performance, api-design, testing, docs, beginner-explain. Create and share custom templates.

04. practical_solves

// Case: Multi-turn conversation with context

scmd chat
You: How do I implement rate limiting in Express?
πŸ€– Assistant: [Detailed explanation with code]

You: What about Redis-based rate limiting?
πŸ€– Assistant: [Builds on previous context...]

// Case: Install community commands like npm

scmd repo search docker
official/dockerfile - Generate optimized Dockerfiles
official/compose - Create docker-compose configs
scmd repo install official/dockerfile
βœ“ Installed official/dockerfile v1.0.0

// Case: Professional security review with templates

scmd /review auth.js --template security-review
πŸ”΄ CRITICAL: SQL Injection vulnerability (CWE-89)
🟑 MEDIUM: Missing input validation
🟒 INFO: Consider using prepared statements

05. core_extensibility

Drop YAML templates into your home directory. SCMD builds the command index automatically. Share repositories across teams to standardize reviews.

~/.scmd/commands/api-review.yaml YAML
name: api-review
model: qwen2.5-1.5b
prompt: |
  Review this API endpoint for:
  - HTTP method correctness
  - Error handling coverage
  - Input validation

06. runtime_specs

Inference Engine llama.cpp / Ollama
Binary Size 14 MB
Context Window 8192 tokens
Models 0.5B / 1.5B / 3B / 7B
GPU Acceleration βœ… Metal / CUDA

Ready to stop paying for AI?

Install scmd. It's free, private, and runs on your hardware.

View on GitHub