Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
SemVer
Protocols & standards
SemVer
Semantic Versioning and version ranges.
Official documentation
Compat
1
Version range syntax: ^ and ~ in npm, Cargo, Composer and pip
Caret and tilde differ by ecosystem: npm and Composer support ^ and ~, Cargo reads a bare version as a caret range, pip uses ~= from PEP 440. Side by side.
All SemVer compatibility
Esc