Skip to main content
The CLI is written in Rust and ships as one binary named occtoo. There is no release yet, so you build it from the source code on GitHub.

Requirements

  • Rust and Cargo, a recent stable version. The CLI uses the Rust 2024 edition.
  • Git.

Install

Install the latest version from the Occtoo/cli repository:
Cargo builds the program and puts occtoo in ~/.cargo/bin. Make sure that folder is on your PATH. Check that it works:

Update

Run the same command again with --force to build the latest version:

Shell completion

occtoo completions prints a completion script for your shell. It supports bash, zsh, fish, powershell and elvish. For zsh, save the script in a folder on your fpath:
For bash:
Open a new terminal to use the completions.

Next step

Sign in so the CLI can reach your organization.