Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Npx again ;-( Why are people continuously using it for cli applications?

While writing this comment, thinking that there should be some packaging tool that would create a binaries from npx cli tools. I remember such things for python. Binaries were fat, but it is better then keep nodejs installed on my OS




What's wrong with nodejs being installed on your OS?


- nodejs is slow.

- the cli runs in whatever your active (nvm, asdf, etc) is configured in that directory. So for each version of node you work in you need to install a different copy of gemini.

- if you work in an older version of nodejs, then you need to run 2 different versions of node (in different tabs) to use the tool and run your project.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: