Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

959
Views
How do I update path npx version?

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
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Ran into the same issue, this is what worked for me:

  1. Delete each one of the files listed in the output of where npx, for example del "C:\Program Files\nodejs\npx"

  2. Run npm uninstall -g npx

  3. Run npm install -g npx@10.2.2 (or whatever version you want to install)

After doing these steps, when I run npx --version I see the correct one, and the issue that required me to upgrade npx is fixed.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!