Summary
Three sources give conflicting install instructions for OpenCode CLI:
| Source |
Command |
walkthroughs/01-install.md |
npm install -g opencode |
Tips webview (getTipsHtml) |
sudo npm install -g opencode |
Install command (extension.js) |
sudo npm install -g opencode |
Impact
New users receive conflicting guidance. Using sudo may be unnecessary or problematic on some systems (nvm, fnm, user-level npm prefix).
Suggested Fix
Align all three sources on a single recommended install method. Consider detecting whether sudo is needed or linking to official docs.
Environment
Found during exploratory GUI/UX testing session (21/06/2026)
Summary
Three sources give conflicting install instructions for OpenCode CLI:
walkthroughs/01-install.mdnpm install -g opencodegetTipsHtml)sudo npm install -g opencodeextension.js)sudo npm install -g opencodeImpact
New users receive conflicting guidance. Using
sudomay be unnecessary or problematic on some systems (nvm, fnm, user-level npm prefix).Suggested Fix
Align all three sources on a single recommended install method. Consider detecting whether sudo is needed or linking to official docs.
Environment
Found during exploratory GUI/UX testing session (21/06/2026)