Skip to content

πŸ“¦ Install

Get one slmcode binary on your PATH. Same energy as the big coding CLIs β€” fewer zeros on the invoice. πŸ’…

πŸͺ„

Plot twist: you do not need Go installed. One-liners fetch a shiny GitHub Release. Keep the compiler for contributing (or vibes).

πŸŽ‰ No Go required

Prebuilt binaries for macOS / Linux / Windows. Your laptop can stay a laptop.


Choose your path πŸ—ΊοΈ

  • 🍎 macOS / Linux / WSL


    curl -fsSL https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install-remote.sh | bash
    

    Classic. Reliable. Slightly mysterious until doctor smiles.

  • πŸͺŸ Windows


    irm https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install.ps1 | iex
    

    PowerShell one-liner. SmartScreen may raise an eyebrow β€” unblock and proceed.

  • 🍺 Homebrew


    brew install --formula https://raw.githubusercontent.com/UnicoLab/smlcode/main/Formula/slmcode.rb
    

    For people who install everything with brew, including existential dread.


One-liners (all the flavors) 🍦

curl -fsSL https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install-remote.sh | bash
curl -fsSL https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install-remote.sh | bash -s -- --system

Lands in Homebrew prefix or /usr/local (may ask for sudo). Also symlinks into ~/.local/bin so PATH priority doesn't fork your brain. 🧠

curl -fsSL https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install-remote.sh \
  | bash -s -- --version v0.7.3
irm https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install.ps1 | iex
curl -fsSL https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install.cmd -o install.cmd && install.cmd && del install.cmd
brew tap UnicoLab/smlcode https://github.com/UnicoLab/smlcode
brew install slmcode

Verify βœ…

slmcode version
slmcode doctor

You want: binary on PATH, a provider/model listed, and a model server that answers the phone.

next upquick start πŸš€

cd your-project
slmcode init
slmcode                 # premium TUI β€” board goes brrr

β†’ ⏱️ Quick start Β· πŸ”Œ Providers


Update / uninstall ♻️

slmcode update
slmcode update --check

Binary installs re-download the latest release. Source installs rebuild from your checkout. Fancy!

curl -fsSL https://raw.githubusercontent.com/UnicoLab/smlcode/main/scripts/install-remote.sh \
  | bash -s -- --uninstall
brew uninstall slmcode

Where does it land? πŸ“

Mode Location
πŸ‘€ User ~/.local/bin/slmcode
🧰 System $(brew --prefix)/bin or /usr/local/bin
πŸͺŸ Windows %LOCALAPPDATA%\slmcode\bin\slmcode.exe
🍺 Homebrew Cellar β†’ linked on PATH

Metadata: ~/.config/slmcode/install.json (Windows: %APPDATA%\slmcode\install.json).


Build from source πŸ› οΈ

Needs Go 1.23+. Module proxy pulls GoLangGraph β€” no sibling clone required.

git clone https://github.com/UnicoLab/smlcode.git
cd smlcode
make install-system
# or make install

Optional: GOLANGGRAPH=/path/to/GoLangGraph for local framework hacking. Bring snacks.


Troubleshooting 🧯

Symptom Fix
command not found πŸ‘» Fix PATH, open a new shell
Checksum mismatch πŸ” Re-run; check proxies / TLS inspection
SmartScreen πŸ›‘οΈ Unblock or use PowerShell one-liner
Go build fails πŸ’₯ Use the one-liner (seriously)

More comedy β†’ ❓ FAQ

πŸ’š

Pro tip: if slmcode doctor is green, resist the urge to β€œjust tweak one more config”. Ship a tiny task first. Future-you will send a thank-you emoji.

β˜€οΈ Made with β™₯ by UnicoLab