.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
SMALLCODE_MODEL
─── Model (required) ──────────────────────────────────────────────────────── Recommended model size: 8B–35B parameters. SmallCode is tuned…
SMALLCODE_BASE_URL
SMALLCODE_PROVIDER
SMALLCODE_CONTEXT_BUDGET
─── Context ─────────────────────────────────────────────────────────────────
SMALLCODE_BASH_TIMEOUT
─── Bash Timeout ────────────────────────────────────────────────────────────
SMALLCODE_THEME
─── TUI ─────────────────────────────────────────────────────────────────────
SMALLCODE_AUTO_APPROVE
SMALLCODE_CLASSIC_TUI
SMALLCODE_AUTO_COMMIT
─── RTK (Rust Token Killer) ───────────────────────────────────────────────── RTK auto-rewrites bash commands (git, tests, ls, etc.) for…
SMALLCODE_ESCALATION_MAX
─── Escalation Limits ───────────────────────────────────────────────────────
SMALLCODE_ESCALATION_CONFIRM
brew install flyctl && fly launch --from https://github.com/doorman11991/smallcode
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/doorman11991/smallcode
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/doorman11991/smallcode