CLI install on ubuntu 24 fails #8053

Open
opened 2026-02-16 18:09:01 -05:00 by yindo · 1 comment
Owner

Originally created by @hugokoopmans on GitHub (Jan 30, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

I do this :

curl -fsSL https://opencode.ai/install | bash

I expect after succesfull run to be able to use but i get this :

Installing opencode version: 1.1.44
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Successfully added opencode to $PATH in /home/hugo/.bashrc

  ▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀

OpenCode includes free models, to start:

cd # Open directory
opencode # Run command

For more information visit https://opencode.ai/docs

hugo@pcloud:~$ opencode
Command 'opencode' not found, did you mean:
command 'pencode' from deb golang-github-ffuf-pencode-dev (0.4-1ubuntu0.24.04.3)
Try: sudo apt install

Plugins

No response

OpenCode version

No response

Steps to reproduce

curl -fsSL https://opencode.ai/install | bash
opencode

Screenshot and/or share link

No response

Operating System

ubuntu 24.04

Terminal

bash

Originally created by @hugokoopmans on GitHub (Jan 30, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description I do this : `curl -fsSL https://opencode.ai/install | bash` I expect after succesfull run to be able to use but i get this : Installing opencode version: 1.1.44 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% Successfully added opencode to $PATH in /home/hugo/.bashrc   ▄ █▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█ █░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀ ▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ OpenCode includes free models, to start: cd <project> # Open directory opencode # Run command For more information visit https://opencode.ai/docs hugo@pcloud:~$ opencode Command 'opencode' not found, did you mean: command 'pencode' from deb golang-github-ffuf-pencode-dev (0.4-1ubuntu0.24.04.3) Try: sudo apt install <deb name> ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce curl -fsSL https://opencode.ai/install | bash opencode ### Screenshot and/or share link _No response_ ### Operating System ubuntu 24.04 ### Terminal bash
yindo added the bug label 2026-02-16 18:09:01 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 30, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7675: Install script ignores OPENCODE_INSTALL_DIR environment variable
  • #5884: [FEATURE]: Add standard CLI flags to install script (--help, --version, --no-modify-path)
  • #9946: Bin path not set for bash/sh if user shell is fish - break rg & jq

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 30, 2026): This issue might be a duplicate of existing issues. Please check: - #7675: Install script ignores OPENCODE_INSTALL_DIR environment variable - #5884: [FEATURE]: Add standard CLI flags to install script (--help, --version, --no-modify-path) - #9946: Bin path not set for bash/sh if user shell is fish - break rg & jq Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8053