How to install the local opencode-dev binary from this fork on a new machine.
- Bun 1.3+
- Git
git clone git@github.com:A-Souhei/opencode.git
cd opencode
bun install
make install-devThis installs opencode-dev to ~/.local/bin/. Make sure that's on your PATH:
# add to ~/.bashrc or ~/.zshrc if needed
export PATH="$HOME/.local/bin:$PATH"opencode-dev works the same as the opencode CLI. Run it from your project directory:
cd ~/your-project
opencode-dev # open TUI
opencode-dev serve # headless server
opencode-dev init # scaffold .vuhitra/ config (indexing on, model lock off)Note:
opencode-devusesbun --cwdinternally, so always invoke it from your target project directory (or a subdirectory of it) —PWDis used to resolve the project root.
cd ~/path/to/opencode
git pull
bun install
make install-devNote: The installed binary has the repo path baked in at install time. If you move or rename the repo directory, re-run
make install-dev(ormake install) from the new location to update the path.