How to know which binary is chosen by npx
Asked Answered
S

1

6

npx has a series search path , but when a command is chosen to run, I want to know exactly which binary was called.

Is there some thing like which command for npx?

Servomechanism answered 9/7, 2019 at 21:3 Comment(2)
Does this answer your question? How to find out which file NPX runs?Paranoiac
When I ask this question, the which option is not there yet, glad it is implementedServomechanism
O
2

This command prints the path

npx which <cmd>
Obtrusive answered 3/9, 2022 at 7:45 Comment(1)
Doesn't work out the bag: npx which playwright Need to install the following packages: [email protected] Ok to proceed? (y)Calabro

© 2022 - 2024 — McMap. All rights reserved.