-
Step 01
Installation
Netsuke is typically built from source using Cargo:
cargo build --release # The executable will be in target/release/netsukeRefer to the project's
README.mdor release pages for pre-compiled binaries if available. Ensure theninjaexecutable is also installed and available in your system'sPATH. -
Step 02
Basic Usage
The primary way to use Netsuke is through its command-line interface (CLI). The default command is
build.-
Create a
Netsukefile: Define your build rules and targets in a YAML file namedNetsukefilein your project root. -
Run Netsuke: Execute the
netsukecommand.
netsuke # Builds default targets defined in Netsukefile netsuke build target_name another_target # Builds specific targetsIf no
Netsukefileis found, Netsuke will provide a helpful error message guiding you. -