Installing OX CLI
Last updated
The OX CLI lets you run OX security scans directly from the command line. This page explains how to install and maintain the CLI.
After installation, continue to OX CLI authentication.
Before you begin the installation process, make sure the following tools are installed:
Node.js, version 16 and newer
npm
The CLI installation method is for users installing from the public npm registry.
To install OX CLI:
npm install -g @oxappsec/ox-cliTo verify that the CLI is working, run ox-cli --version. The available commands, options, and the current version appear.

To update OX CLI, update public NPM builds:
Run:
To verify the update in both distributions:
To uninstall OX CLI, run:
Last updated
ox-cli updateox-cli --versionnpm uninstall -g @oxappsec/ox-cli