Reference

The Nox
documentation.

Nox is a Rust build system and task runner. These pages describe the behavior implemented by the current binary.

Start here

What Nox is, then how to use it.

New to build tools or programming? Start with About Nox. It explains the build system, task runner, dependency graph, and day-to-day workflow in either technical or no-prerequisites language.

From a Nox source checkout, bootstrap the executable with Cargo, then use Nox from the project root containing nox.build.

cargo build --release
./target/release/nox help

nox setup build
nox compile -C build
Commands

The command reference.

nox init

Analyze a directory and generate missing project files for Nox.

nox init my-project --language rust

nox setup

Parse and validate nox.build, detect the C toolchain, and write build state.

nox setup build

nox compile

Compile changed sources and link targets. `build` remains an alias.

nox compile -C build

nox rebuild

Reconfigure and compile every target from scratch.

nox rebuild --release

nox clean

Remove generated build artifacts while preserving installed files.

nox clean

nox validate

Check duplicate targets, missing dependencies, and dependency cycles.

nox validate

nox status

Show the selected build state, project metadata, and toolchain.

nox status

nox targets

List declared targets in nox.build.

nox targets

nox graph

Print targets in dependency order.

nox graph

nox riders

List the language backends compiled into Nox.

nox riders

nox install

Build and copy targets marked install = true into the selected prefix.

nox install --prefix "$HOME/.local"

nox uninstall

Remove installed targets without compiling.

nox uninstall

nox run

Build and run a selected project target or a supported source file.

nox run nox

nox nomlfmt

Format one NOML file or every NOML file under a directory.

nox nomlfmt .

nox test

Run the task named test from noxfile.

nox test

nox task

Find a named task in noxfile and execute its run command.

nox task format

nox tasks

List noxfile task names alphabetically.

nox tasks

nox version

Print the embedded Nox version.

nox version

nox bump-version

Bump or set VERSION and matching references.

nox bump-version minor

nox help

Show general or command-specific help.

nox help run
Boundaries

Two files, two jobs.

nox.build declares the project, targets, source files, compiler settings, and dependencies. noxfile is optional task automation. It does not replace the compilation graph.

Current scope

What Nox supports.

C, C++, Rust, and built-in Riders for Go, Java, C#, Swift, Zig, Python, JavaScript, TypeScript, and Kotlin. Debug and release configurations, dependency-aware ordering, parallel compilation, and installation are supported.

Deep references

The parts behind the command.

Go deeper into Nox's build pipeline, compiler detection, project workflows, contributor testing, and NOML.