angular/angular-update-guide

npx vs npm

twerske opened this issue · 1 comments

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 npm/cli#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:

image

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).