When I run npx --version
, it returns me v6.x.x
But after I do npm install -g npx
, yarn global add npx
, and it shows successful download of npx v10, running npx --version
still returns me v6.x.x
Running where npx gives me:
C:\Program Files\nodejs\npx
C:\Program Files\nodejs\npx.cmd
C:\Users\Samson\AppData\Roaming\npm\npx
C:\Users\Samson\AppData\Roaming\npm\npx.cmd