angular-update-guide
angular-update-guide copied to clipboard
npx vs npm
v13 updates are npx commands and probably should be npm commands?
This one is tricky, b/c the command is perfectly fine but it doesn't work as expected if npm@7 or 8 is used https://github.com/npm/cli/issues/3210
Consider the situation when you migrate from 11 to 12 https://update.angular.io/?v=11.0-12.0
The guide will suggest the following:
If I run it via something newer than npm@6 - npx will ignore the specified version and will pull the latest one which is 13 (and not 12).