You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(nix): flake package should install opencode as the primary CLI #48663
The Nix flake package currently installs opencode2 as the primary CLI entrypoint and sets meta.mainProgram to opencode2.
In V2, the primary command should be opencode, while opencode2 remains available as a compatibility alias. As a result, the Nix package exposes the wrong default binary name and does not generate completions for opencode.
Plugins
N/A
OpenCode version
v2.0.2
Steps to reproduce
Build the package with nix build .#opencode.
Inspect the resulting $out/bin directory or run the packaged binary.
Notice that the package installs opencode2 as the primary command instead of opencode.
Fixed by #48662 (fix(nix): install opencode and keep opencode2 alias), merged to v2 as ce380fb on 2026-09-14. Closing manually because v2 is not the default branch, so the PR did not auto-close this issue.
Activity
Hona commentedon Sep 22, 2026
Fixed by #48662 (
fix(nix): install opencode and keep opencode2 alias), merged tov2as ce380fb on 2026-09-14. Closing manually becausev2is not the default branch, so the PR did not auto-close this issue.ReStranger commentedon Sep 22, 2026
Oh, I didn't notice