Skip to content
ocx
install

Install

Install ocx so that ocx runs in your shell. One command, any platform, no root required. Pick your shell and paste:

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

Open a new terminal and run ocx --remote --global add uv:0.10 to install your first package.

The commands are thin per-shell installers served by setup.ocx.sh. See Installation for pinned versions, manual downloads and the other install options.

In GitHub Actions, add the ocx-sh/setup-ocx step. It installs ocx, and in a project with an ocx.lock it pulls the pinned toolchain and exports its environment. Pin the action to a commit SHA:

- uses: ocx-sh/setup-ocx@25fa771f8572572dc64528db89560de68a163a0e # v1.4.0