npm / npm-v7-blog

a repo to hold blog posts about npm v7 that'll end up on the npm blog
https://blog.npmjs.org/
14 stars 4 forks source link

[QUESTION] npm install vs npm ci in NPM v7 #1

Open felipeplets opened 4 years ago

felipeplets commented 4 years ago

What / Why

Will npm install become a alias to npm ci in NPM v7?

Where

It was first mentioned in and I could not find references after: https://blog.npmjs.org/post/173239798780/beyond-npm6-the-future-of-the-npm-cli

Who

References

isaacs commented 4 years ago

That's a great idea! I'll add it to the list.

(Probably goes without saying, that old post from 2018 is not indicative of what'll actually land in npm v7, as it turns out.)

tl;dr - No, install will not be an alias to ci. But both commands call into Arborist.reify(), and so the delta between them has gotten a lot smaller.

felipeplets commented 4 years ago

Great, thanks for clarifying @isaacs !