>_Microsoft NVX公式
@microsoft
詳細
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.
Microsoft NVX のインストール方法
1. Get the official repository; install Git and Rust/Cargo first.
git clone https://github.com/microsoft/nvx.git
cd nvxログインと認証
- 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.
できること
Boot Linux guests
Select guest userlands
Use supported host hypervisors
よく使うコマンド
- 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.
注意点
- 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.
参考資料
2026-11-23 に公式ドキュメントと照合しました。
その他の開発者ツール CLI
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.
コメント