Install with winget
Open PowerShell or Command Prompt and run:
winget install SST.opencode
Copied to clipboard!
1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation
About opencode
opencode is an AI coding agent built for the terminal. It features: - A responsive, native, themeable terminal UI. - Automatically loads the right LSPs, so the LLMs make fewer mistakes. - Have multiple agents working in parallel on the same project. - Create shareable links to any session for reference or to debug. - Log in with Anthropic to use your Claude Pro or Claude Max account. - Supports 75+ LLM providers through Models.dev, including local models.
Advanced Install Options
Install (latest)
winget install SST.opencodeInstall (pinned version)
winget install --id SST.opencode -e --version 1.14.40Upgrade
winget upgrade SST.opencodeUninstall
winget uninstall SST.opencodeFrequently Asked Questions
How do I install opencode using winget?
Open PowerShell or Windows Terminal and run:
winget install SST.opencode. Winget comes pre-installed on Windows 10 (1809+) and Windows 11.What is opencode?
The AI coding agent built for the terminal.
Is opencode free to use?
opencode is distributed under the MIT license. Check the publisher’s site for full licensing details.
How do I update opencode with winget?
Run
winget upgrade SST.opencode in PowerShell or Windows Terminal to upgrade to the latest available version.How do I uninstall opencode?
Run
winget uninstall SST.opencode to remove opencode from your system.