3 ms·
> sudo npm install -g tunnelmole Why not simply use npx? npx tunnelmole
by vorticalbox 3y ago
> sudo npm install -g tunnelmole
Why not simply use npx?
npx tunnelmole
- scubbo 3y ago(I'm no Node expert, so this might be flawed, but) presumably, because they hope that you'll use the app more than a few times, and so the one-time overhead of typing `sudo npm install -g` once will outweigh the repeated requirement to use `npx` every time you invoke it. Or, taking a less mechanistic and more usability-focused approach - because the intention is for it to be seen as a fundamental tool, just as accessible as grep or cat or less, rather than "hidden" behind npx.
- aussieguy1234 3y agoI actually tried advertising the `npx tmole` / `npx tunnelmole` methods but not too many people picked them up, so I ended up not adding these methods to the docs.
- aussieguy1234 3y agoYou can do that, also `npx tmole` works because of the wrapper package I added to NPM.