>_Microsoft NVXOfficial
@microsoft
Details
About Microsoft NVX
NVX is a Microsoft research micro-VM sandbox built on OpenVMM. It targets developers exploring hardware-isolated execution for agentic workloads, with Linux running inside the guest.
The repository includes pinned components, guest sources and benchmarks. This is a local runtime rather than an MCP server or a hosted AI subscription; the host must supply a supported hypervisor.
How to install Microsoft NVX
1. Get the official repository; install Git and Rust/Cargo first.
git clone https://github.com/microsoft/nvx.git
cd nvxLog in and authenticate
- 1
cargo build --release --locked --features cli --manifest-path nvx/Cargo.toml --target-dir nvx/target2. Build the CLI. This Linux example requires read/write access to /dev/kvm.
- 2
nvx/target/release/nvx run3. Start the guest; first run downloads prebuilt guest/OpenVMM artifacts. Exit inside the guest with /sbin/nvx-exit 0.
What it does
Boot Linux guests
Select guest userlands
Use supported host hypervisors
Common commands
- 1
nvx/target/release/nvx run --guest ubuntuBoot Ubuntu userland with the NVX kernel.
- 2
nvx/target/release/nvx run --guest azurelinuxSelect the packaged Azure Linux userland.
- 3
nvx/target/release/nvx run --hypervisor mshvUse MSHV only on a configured host with /dev/mshv access.
Notes and limits
- Can it run on every laptop? No. Linux needs KVM or MSHV access; Windows needs Windows Hypervisor Platform. Do not infer macOS support from the term cross-platform.
- Does every guest component require a local build? No. The CLI can download release artifacts; building all sources is a separate workflow requiring the OpenVMM submodule.
- Why do older examples use Python? Cached documentation may refer to scripts/nvx.py. The current README quick start builds the Rust nvx CLI; follow the checked-out revision.
- Requirements and limits: Git, Rust/Cargo, network access plus curl/tar for artifact downloads. Releases are development artifacts; review compatibility before use. MIT source licensing is not a hosted-service SLA or a guarantee against every escape.
- Official source checked 2026-11-23. No installation, virtualization benchmark or containment test was performed for this guide.
Sources
Checked against the official documentation on 2026-11-23.
More Developer tools CLIs
Bun
$ bun
An all-in-one JavaScript runtime, package manager, bundler, and test runner.
GitHub CLI
$ gh
GitHub on the command line: repositories, pull requests, issues, Actions, releases, and API calls.
GitLab CLI
$ glab
GitLab’s official CLI for merge requests, issues, pipelines, releases, snippets, and self-managed instances.
HTTPie
$ http
A human-friendly HTTP client with JSON, sessions, auth, and formatted output.
Lazygit
$ lazygit
A keyboard-driven terminal UI for staging, rebasing, branching, and Git history.
Playwright
$ playwright
Cross-browser end-to-end testing and browser automation from the command line.
Comments