GitHub stars for alvarosanchez/ocp

Switch OpenCode configurations like code, not chaos.

Version and switch OpenCode profiles in Git so work, personal, OSS, and experimental environments stay intentional instead of drifting into local state.

$ brew install alvarosanchez/tap/ocp

Keep your OpenCode configuration intentional, reviewable, and one command away.

Store profiles in repositories, keep the active OpenCode state explicit, and move from install to everyday switching without guessing where config lives.

Fast context switching

Move between work, personal, OSS, and experiment setups without hand-editing config files.

Configuration in Git

Treat OpenCode profiles like code: version them, review them, share them, and keep them reproducible.

Backup-aware changes

Apply profiles with linked files, transactional rollback, and safer replacement behavior instead of fragile local drift.

A cleaner route from configuration basics to exact command details.

Start with setup, move into the first successful profile switch, then jump straight to guides or exact command reference when you need detail.

Browse repositories, inspect inheritance, and act without leaving the terminal.

The full-screen UI covers onboarding, refresh, editing, migration, commit, publish, and preview workflows on top of the same service-layer semantics as the CLI.

Animated demonstration of ocp interactive mode Explore interactive mode