Migration Guide
💡 If your OpenCode version is 1.0 or above, you don't need to read this.
Smooth upgrade from OpenCode 0.x to 1.0
Version Overview
OpenCode 1.0 is a complete rewrite of the TUI.
Migrated from a Go + Bubbletea based TUI to an internal framework OpenTUI (Zig + SolidJS), resolving performance and functionality issues.
The new TUI works the same way as the old version because it connects to the same OpenCode server.
Upgrade Methods
Automatic Upgrade
# Upgrade to 1.0
opencode upgrade 1.0.0
# Downgrade back to 0.x
opencode upgrade 0.15.31Manual Upgrade
# npm
npm install -g opencode-ai
# Homebrew
brew upgrade opencode
# Scoop
scoop update opencodeNote: If you are using an older version, it may not automatically upgrade to 1.0. Some older versions will automatically fetch the latest version.
UX Changes
More compact session history - Only shows full details for edit and bash tools
New command bar - Press
Ctrl+Pto invoke in any context, view all available actionsNew session sidebar - Toggleable display, contains useful information
Some features removed - Removed some features that were uncertain if anyone was using. If important features are missing, please submit an Issue
Breaking Changes
Keybinding Renames
| Old Name | New Name |
|---|---|
messages_revert | messages_undo |
switch_agent | agent_cycle |
switch_agent_reverse | agent_cycle_reverse |
switch_mode | agent_cycle |
switch_mode_reverse | agent_cycle_reverse |
Keybinding Removals
The following keybindings have been removed:
messages_layout_togglemessages_nextmessages_previousfile_diff_togglefile_searchfile_closefile_listapp_helpproject_inittool_detailsthinking_blocks
If your configuration uses these keybindings, you need to remove them.
Migration Checklist
Before Upgrade
- [ ] Backup current configuration files
- [ ] Record current models and settings in use
- [ ] Export important session records
During Upgrade
- [ ] Run
opencode upgrade 1.0.0 - [ ] Check keybinding configuration, remove deprecated bindings
- [ ] Update renamed keybindings
After Upgrade
- [ ] Verify
opencode --versionshows 1.x - [ ] Test model connection
/models - [ ] Test basic conversation functionality
- [ ] Verify custom Agents and Skills
- [ ] Familiarize with new command bar (Ctrl+P)
Rollback Plan
If you encounter issues and need to rollback:
# Downgrade to 0.x
opencode upgrade 0.15.31Getting Help
- Troubleshooting - Troubleshooting guide
- GitHub Issues - Report issues
Related Resources
- CLI Command Reference - 1.0 command details
- Keybinding Reference - Keyboard shortcut configuration
- Changelog - Version history

