opencode - Basic

On this page

Introduction

Opencode is a free and open-source AI programming assistant.

Downlod

https://opencode.ai/download

Install Bun

Install OpenCode

Terminal window
bun add -g opencode-ai

Configure

With OpenCode you can use any LLM provider by configuring their API keys.

Run the /connect command in the TUI-

Terminal window
/connect

You can select a free model …

Or select GitHub Copilot if you have a GitHub account.

Select ‘Claude Sonnet 4.5’ (if you have subscribed as a student: Github - Educació)