AptLynx

Command-line tool

semver

brew/semver

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Semantic version parser for node (the one npm uses)

At a glance

Type
Command-line tool
Install on
macOS
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install semver

Check if a version string respects the semantic versioning format (prints an empty string if it does not match)

semver 1.2

Convert a version string to the semantic versioning format

semver --coerce 1.2

Test if `1.2.3` matches the `^1.0` range (prints an empty string if it does not match)

semver 1.2.3 --range "^1.0"

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents