Installation
open-cli ships two binaries — ocli (the CLI) and oclird (the runtime daemon). Pick the installation method that fits your environment.
npm (Recommended)
npm install -g @sbuglione/open-cli
The package automatically downloads the correct pre-built binary for your platform during postinstall. After installation, both ocli and oclird are available on your PATH.
Binary Download
Pre-built binaries for every supported platform are attached to each GitHub Release.
- Download the archive for your OS and architecture.
- Extract it (
tar xzfon macOS/Linux, or unzip on Windows). - Move
ocliandoclirdto a directory on yourPATH.
macOS / Linux:
tar xzf open-cli_<os>_<arch>.tar.gz
sudo mv ocli oclird /usr/local/bin/
Windows:
Extract the .zip archive and add the folder containing ocli.exe and oclird.exe to your system PATH.
From Source
Requires Go 1.25.1+.
Install into your Go bin directory:
go install github.com/StevenBuglione/open-cli/cmd/ocli@latest
go install github.com/StevenBuglione/open-cli/cmd/oclird@latest
Or build from a local clone (for contributors):
git clone https://github.com/StevenBuglione/open-cli.git
cd open-cli
go build -o ./bin/ocli ./cmd/ocli
go build -o ./bin/oclird ./cmd/oclird
Verify Installation
ocli --version
If the version prints, you are ready. Continue to Quickstart.
Platform Support
| OS | x64 | arm64 |
|---|---|---|
| macOS | ✅ | ✅ |
| Linux | ✅ | ✅ |
| Windows | ✅ | ✅ |
Troubleshooting
npm installfails behind a proxy — setHTTPS_PROXYbefore installing. The postinstall script follows standard proxy environment variables.- Permission denied on global install — use
sudo npm install -g @sbuglione/open-clior configure npm to use a user-writable prefix (npm config set prefix ~/.npm-global). - Binary not found after install — ensure your npm global
bindirectory is on yourPATH(npm bin -g). - Go build fails — verify your Go version with
go version; the minimum required is Go 1.25.1.