How to install sst/opencode. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
sst/opencode Installation Guide
How to install sst/opencode. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for sst/opencode. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i sst/opencodeor
Install via npx
npx @hexmos/ipm i sst/opencodePrerequisites
curl
system_toolbash
system_toolpython
languageVersion: 3.8+
npm
package_managerVersion: latest
scoop
package_managerchoco
package_managerbrew
system_toolparu
package_manageropencode-bin
otherManual Installation Methods
Manual installation instructions. How to install from GitHub source.
Binary Installation
curl -fsSL https://opencode.ai/install | bash
npm i -g opencode-ai@latest
scoop bucket add extras; scoop install extras/opencode
choco install opencode
brew install opencode
paru -S opencode-bin
mise use --pin -g ubi:sst/opencodePackage Manager Installation
npm install -g opencode-ai@latest
scoop bucket add extras; scoop install extras/opencodeScript Installation
curl -fsSL https://opencode.ai/install | bashPost Installation Steps
- Open the terminal and run `curl -fsSL https://opencode.ai/install | bash` to install OpenCode.
- Run the server with `./bin/start` or `npm start`. This will launch the application in your default web browser.
- If you're using a local database, connect to it by running `./bin/migrate`.
