Skip to content
Latchkey

Tilde Range - CI/CD Glossary Definition

A tilde range (~1.2.3) permits patch-level updates within a minor version, accepting 1.2.4 but not 1.3.0, making it stricter than a caret range.

A tilde range (~1.2.3) permits patch-level updates within a minor version, accepting 1.2.4 but not 1.3.0, making it stricter than a caret range.

Tilde ranges are chosen when a team wants bug fixes but no new features from a dependency.

Tilde vs caret

A tilde locks the minor version and floats the patch; a caret locks only the major. Use tilde for tighter control in CI-critical dependencies.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →