Installation
The nucleus CLI
Prerequisites
- A Rust toolchain ≥ 1.85 (the MSRV). Install via rustup.
- Optional, only for
nucleus build/flash:arm-none-eabi-gcc,cmake,st-flash, and a NUCLEO-F446RE board.
From crates.io
cargo install nucleus-cli
This installs the nucleus binary into ~/.cargo/bin (on your PATH if you
installed Rust via rustup). To install a specific version, pass
--version <x.y.z>.
From source
# From a clone
git clone https://github.com/harshverma27/nucleus
cd nucleus
cargo install --path crates/nucleus-cli --locked
# …or directly from GitHub
cargo install --git https://github.com/harshverma27/nucleus nucleus-cli --locked
Prebuilt binaries
Each tagged release attaches prebuilt nucleus binaries for Linux, macOS, and
Windows (x86_64 + arm64), with SHA-256 checksums, on the
Releases page. Download,
verify, extract, and put nucleus on your PATH.
Verify
nucleus --version
nucleus --help
The VS Code extension
The extension is a thin client for the CLI (LSP + trace dashboard).
- From the Marketplace (once published): search for Nucleus in the
Extensions view, or install the
.vsixattached to a release with Extensions: Install from VSIX…. - From source:
Then press F5 in VS Code to launch an Extension Development Host.cd extension npm install npm run build
The extension expects nucleus on your PATH; override with the
nucleus.serverPath setting if needed.