nvme-cli is the command line tool for managing NVMe devices. It is
built on the libnvme library. Together they support local NVMe drives,
NVMe-oF fabrics (TCP, RDMA, FC), and many vendor-specific plugins.
For more information on the NVM Express standard, see https://nvmexpress.org.
The project is developed on GitHub at https://github.com/linux-nvme/nvme-cli.
Subscribe to linux-nvme@lists.infradead.org for Linux NVMe discussions and development. The list is archived at https://lists.infradead.org/mailman/listinfo/linux-nvme
| Shared | nvme-cli | libnvme | |
|---|---|---|---|
| Build | |||
| Static analysis | |||
| Nightly tests | |||
| Test coverage | |||
| Docs | |||
| Package | |||
| License |
$ meson setup .build
$ meson compile -C .build
# meson install -C .buildIt is also packaged by most Linux distributions (Alpine, Arch, Debian,
Fedora, FreeBSD, Gentoo, Ubuntu, Nix(OS), openSUSE, ...) as nvme-cli.
Once installed, find the top-level documentation with man nvme, or a short
summary with nvme help.
The guide at https://nvme-cli.readthedocs.io is the entry point to the documentation: building, connecting to NVMe-oF targets, security, troubleshooting, contributing, and the man pages of all commands. Its sources are in Documentation/guide.
Report security vulnerabilities as SECURITY.md describes. CONTRIBUTING.md explains how to contribute, including the AI-assisted development resources in the companion repository nvme-cli-ai.