Description
I'm trying to download opencode using bash, npm, but the issue remains, it respond with this when I try to run the app after downloading it.
mlovera@wsl:~$ npm install -g opencode-ai@latest
added 5 packages in 6s
mlovera@wsl:~$ opencode --version
It seems that your package manager failed to install the right version of the opencode CLI for your platform. You can try manually installing "opencode-linux-x64" or "opencode-linux-x64-baseline" or "opencode-linux-x64-musl" or "opencode-linux-x64-baseline-musl" package
I also tried using curl and bash:
curl -fsSL https://opencode.ai/install | bash
and this happened:
mlovera@wsl:~$ curl -fsSL https://opencode.ai/install | bash
Installed version: .
Installing opencode version: 1.14.19
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Command already exists in /home/mlovera/.bashrc, skipping write.
▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
OpenCode includes free models, to start:
cd <project> # Open directory
opencode # Run command
For more information visit https://opencode.ai/docs
mlovera@wsl:~$ opencode --version
It seems that your package manager failed to install the right version of the opencode CLI for your platform. You can try manually installing "opencode-linux-x64" or "opencode-linux-x64-baseline" or "opencode-linux-x64-musl" or "opencode-linux-x64-baseline-musl" package
More information
uname -a
Linux DESKTOP-PENQRDG 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.13) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
I also tried with opencode-linux-x64.
I noticed this issue is repeated, but previous conversations were not helpful at all.
Plugins
No response
OpenCode version
1.14.19
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Ubuntu 22.04 (WSL)
Terminal
Windows Terminal
Description
I'm trying to download opencode using bash, npm, but the issue remains, it respond with this when I try to run the app after downloading it.
I also tried using curl and bash:
curl -fsSL https://opencode.ai/install | bashand this happened:
More information
uname -a
ldd --version
I also tried with
opencode-linux-x64.I noticed this issue is repeated, but previous conversations were not helpful at all.
Plugins
No response
OpenCode version
1.14.19
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Ubuntu 22.04 (WSL)
Terminal
Windows Terminal