←back to thread

Gemini CLI

(blog.google)
1339 points sync | 3 comments | | HN request time: 0.006s | source
Show context
xgpyc2qp ◴[] No.44381627[source]
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

replies(1): >>44381711 #
1. toephu2 ◴[] No.44381711[source]
What's wrong with nodejs being installed on your OS?
replies(2): >>44381739 #>>44388459 #
2. ◴[] No.44381739[source]
3. itake ◴[] No.44388459[source]
- 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.