Overview
OCX supports macOS (x64, Apple Silicon), Linux (x64, arm64), and Windows (x64). Choose the method that fits your environment.
Install via Shell Script (Recommended)
The install script handles PATH configuration automatically or prints instructions if manual setup is needed.
curl -fsSL https://ocx.kdco.dev/install.sh | sh
This method downloads a pre-built binary and verifies it with SHA-256 checksums. It is the fastest way to get started on macOS or Linux.
Install via npm
Use npm if you prefer a package-manager-based install or are on Windows:
Verify Your Installation
After installing, confirm OCX is available:
You should see the installed version number printed to the terminal.
Updating
OCX can update itself:
The update mechanism auto-detects how OCX was originally installed (curl or npm) and uses the appropriate method. For curl-installed binaries, the downloaded binary is verified against published SHA-256 checksums.
Uninstalling
To remove OCX and its global configuration:
Preview what would be removed first with --dry-run:
ocx self uninstall --dry-run
Next Steps