# CLI reference

Every page below is generated from the `nsx` argument parser, so it describes the
version of NSX you installed. `nsx <command> --help` prints the same information at
the terminal, and `nsx commands --json` returns the whole tree as JSON.

## Commands

- [`nsx board`](https://ambiqai.github.io/neuralspotx/reference/cli/board/) Inspect packaged boards and scaffold custom boards
- [`nsx build`](https://ambiqai.github.io/neuralspotx/reference/cli/build/) Build a generated NSX app
- [`nsx cache`](https://ambiqai.github.io/neuralspotx/reference/cli/cache/) Inspect or clean neuralSPOT-X on-disk caches
- [`nsx clean`](https://ambiqai.github.io/neuralspotx/reference/cli/clean/) Clean a generated NSX app build directory
- [`nsx commands`](https://ambiqai.github.io/neuralspotx/reference/cli/commands/) Show the NSX command graph for users and agents
- [`nsx configure`](https://ambiqai.github.io/neuralspotx/reference/cli/configure/) Configure a generated NSX app with CMake
- [`nsx create-app`](https://ambiqai.github.io/neuralspotx/reference/cli/create-app/) Create a new standalone NSX app project
- [`nsx doctor`](https://ambiqai.github.io/neuralspotx/reference/cli/doctor/) Check the local NSX toolchain environment
- [`nsx flash`](https://ambiqai.github.io/neuralspotx/reference/cli/flash/) Build and flash a generated NSX app
- [`nsx lock`](https://ambiqai.github.io/neuralspotx/reference/cli/lock/) Resolve modules in nsx.yml to commits and write nsx.lock
- [`nsx module`](https://ambiqai.github.io/neuralspotx/reference/cli/module/) Manage app-local NSX modules
- [`nsx outdated`](https://ambiqai.github.io/neuralspotx/reference/cli/outdated/) Show git modules whose locked commit lags behind upstream
- [`nsx probes`](https://ambiqai.github.io/neuralspotx/reference/cli/probes/) List connected SEGGER J-Link debug probes
- [`nsx reset`](https://ambiqai.github.io/neuralspotx/reference/cli/reset/) Explicitly reset a target with SEGGER J-Link
- [`nsx sbom`](https://ambiqai.github.io/neuralspotx/reference/cli/sbom/) Generate a Software Bill of Materials from nsx.lock
- [`nsx sync`](https://ambiqai.github.io/neuralspotx/reference/cli/sync/) Make modules/ exactly match nsx.lock
- [`nsx update`](https://ambiqai.github.io/neuralspotx/reference/cli/update/) Re-resolve constraints to upstream tip and sync modules
- [`nsx view`](https://ambiqai.github.io/neuralspotx/reference/cli/view/) Open the SEGGER SWO viewer for a generated NSX app

## Aliases

- [`nsx add`](https://ambiqai.github.io/neuralspotx/reference/cli/add/) runs `nsx module add`.
- [`nsx list-modules`](https://ambiqai.github.io/neuralspotx/reference/cli/list-modules/) runs `nsx module list`.
- [`nsx new`](https://ambiqai.github.io/neuralspotx/reference/cli/new/) runs `nsx create-app`.
