Answer the question
In order to leave comments, you need to log in
Why does the npm install --save command sometimes add a tick, sometimes a tilde, to version numbers?
I added, say, two modules: bluebird and body-parser.
The following lines appeared in package.json:
"dependencies": {
"bluebird": "^3.3.5",
"body-parser": "~1.14.0",
Answer the question
In order to leave comments, you need to log in
Semver https://docs.npmjs.com/getting-started/semantic-ve...
Tilda version within the patch.
Tick the version within the minor version.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question