Skip to content

Installation and upgrades ​

The npm package is @czur/open-cli; its installed command is czur-open. This page covers CLI installation, Runtime setup, authorization, and upgrades. You do not need a developer app or your own device-connection implementation.

Install CLI ​

Prepare Node.js 20 or later and npm, then check and install them in a terminal:

bash
node --version
npm --version
npm install -g @czur/open-cli@latest
czur-open version
czur-open --help

Use PowerShell on Windows or a terminal on macOS / Linux. If the installed command cannot be found, reopen the terminal and check that npm's global executable directory is in PATH. With nvm or another version manager, switching Node.js versions can change the available global packages. See command startup troubleshooting.

Prepare Runtime ​

CLI and CZUR Open SDK Runtime are installed separately. If Runtime is missing:

bash
czur-open runtime install

The command downloads and verifies an official installer matching your system and architecture, without executing it. Install and start Runtime manually as instructed, then check connectivity:

bash
czur-open doctor

Installing an npm package does not silently download Runtime, run an installer, or authorize an account. Prepare software before offline deployment instead of relying on later network downloads.

Account login ​

bash
czur-open auth login
czur-open auth check

Login displays an authorization link. Open it manually in a browser, confirm authorization, and keep the terminal waiting until completion. CLI does not open the browser automatically. auth check verifies that authorization works with Runtime; doctor checks connectivity. They are different checks.

CLI and MCP share account authorization under the same operating-system user. czur-open auth status only reads local account state and does not verify remote authorization. czur-open auth logout clears account authorization and attempts remote revocation. Read warnings when remote revocation is unconfirmed; local clearing does not prove remote revocation.

API Key authorization ​

Individual users can obtain and manage a Key in the CZUR User Center without creating a developer app. Configure it in the CLI environment:

bash
export CZUR_OPEN_API_KEY="REPLACE_WITH_YOUR_API_KEY"
czur-open auth check
powershell
$env:CZUR_OPEN_API_KEY = "REPLACE_WITH_YOUR_API_KEY"
czur-open auth check

A Key that is nonempty after trimming takes precedence over account login, without fallback if invalid. Unset, empty, or whitespace-only values select account authorization. Keys are not command arguments; never send real values to an AI conversation or commit them. These settings affect the current terminal and child processes. Scheduled jobs need their own environment setup.

Remove the variable to return to account authorization:

bash
unset CZUR_OPEN_API_KEY
powershell
Remove-Item Env:CZUR_OPEN_API_KEY -ErrorAction SilentlyContinue

auth logout does not remove or revoke an environment Key. A Key bypasses account login, not Runtime authorization or device activation. Fully offline or private-network use also requires appropriate authorization, local processing services, and models. See offline deployment requirements.

Upgrade or pin a version ​

Update CLI with:

bash
npm install -g @czur/open-cli@latest
czur-open version

To pin a version, replace @latest with the desired exact version number. Updating the npm package does not upgrade Runtime or change Keys managed in User Center. Finish active captures and long tasks before updating.

For Runtime updates, use the separate check and installation flow. CLI and Runtime versions are different. Next: Device discovery and management or Capture and processing.