Tools/linux-nvme/nvme-cli

nvme-cli

NVMe management command line interface.

1.9k ★+4/wkemergingCGNU General Public License v2.0 →trending

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 free

Free: 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
Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
67/100 · B
Adoption13/30
Maintenance25/25
Community9/20
License10/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Community discussions enabledOrganization account (10 public repos)

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