Tested on macOS 13+ with both Apple Silicon and Intel.
- Terminal: the built-in Terminal works, but a modern emulator (WezTerm, Alacritty, Ghostty, or Kitty) gives the best opencode TUI experience.
- git:
git --versionshould print a version. Install viaxcode-select --installif missing. - Node.js 20+ (only needed for the
npminstall path):node --version. Install via nvm orbrew install node.
Pick one of the following. The universal installer is the safest if you do not already use Homebrew.
Universal installer (recommended):
curl -fsSL https://opencode.ai/install | bashThe script downloads a native binary and adds it to your PATH via .zshrc / .bashrc. Restart your shell after installation.
Homebrew:
brew install anomalyco/tap/opencodenpm:
npm install -g opencode-aiopencode --versionYou should see a version string. If command not found, restart your terminal so the updated PATH takes effect.
opencodeThe TUI opens. Connect a provider — for the workshop we will use opencode zen so everyone has access to free models:
- Type
/connectand pick opencode zen. - Follow the browser auth flow it opens.
- Type
/models(or pressf2) and pick a free model —big-pickleis a good starting default. - Send a test prompt:
summarize the contents of this directory.
If everything responds, you are ready for the session.
- Skim the keybindings in
commands.md. - Compare models in
models.md. - Open the deck:
../slides/opencode_session_one.md.