Skip to content
ocx
install

Install OCX

Install ocx on Linux, macOS or Windows with one command in the shell you already use. No root access is needed. Pick your shell and paste the command.

Terminal window
curl -fsSL https://setup.ocx.sh/sh | sh

Works in bash, zsh, dash, ash and ksh on Linux and macOS. It needs curl or wget, and one of sha256sum, shasum or openssl.

The installer prints its progress to stderr and then hands over to ocx self setup. That command installs OCX into your OCX home directory, ~/.ocx by default, and adds OCX to your shell profile.

The installer checks the archive against the SHA-256 digest in its manifest before it runs anything from the archive. Open a new terminal and run ocx about to confirm that ocx is on your path. Installer output shows what the installer prints.

In CI, use the maintained integration for your provider. It installs ocx and, in a project with an ocx.lock, pulls the pinned toolchain.

ci

For any other CI system, see the generic CI wrapper. Pin the installer and the version in CI, as Pin a version describes.