-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
The README says
Installation Directory
The install script respects the following priority order for the installation path:
$OPENCODE_INSTALL_DIR - Custom installation directory
$XDG_BIN_DIR - XDG Base Directory Specification compliant path
$HOME/bin - Standard user binary directory (if exists or can be created)
$HOME/.opencode/bin - Default fallback
But when I run
❯ XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
Downloading opencode version: 0.14.7 ...
######################################################################## 100.0%
Successfully added opencode to $PATH in /home/einar/.zshenv
❯ cat .zshenv
***REDACTED***
# opencode
export PATH=/home/einar/.opencode/bin:$PATH
❯ which opencode
~/.opencode/bin/opencode
rohitpaulk
Metadata
Metadata
Assignees
Labels
No labels