
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
macos-version-cli
Advanced tools
Get the macOS version of the current system. Example:
10.9.3
npm install --global macos-version-cli
$ macos-version --help
Usage
$ macos-version
Options
--is <semver-range> Check if the macOS version matches the specified semver range
--gte <version> Check if the macOS version is greater than or equal to the specified version
--assert <semver-range> Assert that the macOS version matches the specified semver range
--assert-gte <version> Assert that the macOS version is greater than or equal to the specified version
Examples
$ macos-version
14.0
$ macos-version --is '>10.10'
✔ macOS version satisfies >10.10
$ macos-version --gte 10.10
✔ macOS version is greater than or equal to 10.10
$ macos-version --assert '>10.10'
✔ macOS version satisfies >10.10
$ macos-version --assert-gte 10.10
✔ macOS version is greater than or equal to 10.10
Exit codes
0 - Success or condition is true
1 - Condition is false or assertion failed
FAQs
Get the macOS version of the current system
The npm package macos-version-cli receives a total of 3 weekly downloads. As such, macos-version-cli popularity was classified as not popular.
We found that macos-version-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.