
nvme-cli
NVMe management command line interface.
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Nov 2026
nvme-cli is the command line tool for talking directly to NVMe SSDs (fast flash drives that sit on PCIe). Check drive health and error logs, run self-tests, update firmware, securely wipe a drive, or split it into namespaces (separate logical drives). It also connects to remote NVMe storage over TCP, RDMA or Fibre Channel. GPLv2, free, packaged by most Linux distros.
Install it from your distro; most device commands need root. Vendor plugins add extra logs and commands for drives from WDC, SanDisk, Micron, Samsung, Solidigm, Seagate and others. Version 3.0 (September 2026) was a breaking release: the library became libnvme3, fabrics config moved to INI files, and key commands moved under nvme keys. It now also runs on Windows and FreeBSD for local drives.
Solo: free, install it on any Linux box with an NVMe drive. Small teams: free, script health checks off its JSON output. Larger teams: free, and the foundation for NVMe-over-fabrics storage.
The catch: it runs as root against hardware. Version 3.2 fixed a root command injection in the WDC and SanDisk plugins, and distro packages lag, so check what you are running. Format and sanitize have no undo.
Free vs Self-Hosted vs Paid
fully freeFree: Everything. nvme-cli is GPLv2 and its libnvme3 library is LGPL-2.1, with no paid edition. It ships in the package repos of Alpine, Arch, Debian, Fedora, FreeBSD, Gentoo, Ubuntu, NixOS, openSUSE and others.
Self-hosted: Nothing to host. It is a local command line tool; the optional nvme-discoverd daemon handles NVMe-over-fabrics discovery. The real cost is the admin knowledge to use destructive commands (format, sanitize, firmware commit) safely.
Paid: None. Drive vendors ship their own free utilities, and enterprise storage arrays bundle their own management.
Free, and the default tool for the job on Linux. The only cost is care: several commands permanently erase data.
What to do by team size
- Solo
- free, install it on any Linux machine with an NVMe drive
- Small team
- free, script drive health checks from its JSON output
- Medium team
- free, standardize it in server images and monitoring
- Large team
- free, the base layer for NVMe-over-fabrics storage fleets
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
Trust Signals
License: GNU General Public License v2.0
Free to use commercially; the bundled libnvme3 library is LGPL-2.1 so you can link it from closed code.
Commercial use: ✓ Yes
About
- Owner
- linux-nvme (Organization)
- Stars
- 1,898
- Forks
- 755
Explore Further
More tools in the directory
rea
Reverse engineer anything with agents, from app behavior down to native binaries.
462.8k ★openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
394.6k ★everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
304.0k ★