News for hackers. Stuff that matters.
Re:Uv is the best thing to happen to the Python ecosystem in... by nullbyte on Wednesday October 29, 2025 @04:49PM (#45752825)
I find pnpm annoying to type, that's why I don't use it
Re:Uv is the best thing to happen to the Python ecosystem in... by DemocracyFTW2 on Wednesday October 29, 2025 @05:25PM (#45753265)
IME after years of using pnpm exclusively having to type `pnpm install` instead of `npm install` is easily the single biggest drawback of replacing `npm` with `pnpm`, so yes.

FWIW I use zsh with auto-auto-completion / auto-completion-as-you-type, so just hitting `p` on an empty command line will remember the most recent command starting with `p` (which was likely `pnpm`), and you can refine with further keystrokes and accept longer prefixes (like I always do that with `git add` to choose between typical ways to complete that statement). IMO people who don't use auto-completion are either people who have a magical ability to hammer text into their keyboards with the speed of light, or people who don't know about anything hence don't know about auto-completion, or terminally obsessive types who believe that only hand-crafting each line is worth while.

I don't know which type of person you are but since typing `pnpm` instead of `npm` bothers you to the degree you refuse to use `pnpm`, I assume you must be of the second type. Did you know you can alias commands? Did you know that no matter your shell it's straightforward to write shell scripts that do nothing but replace obnoxious command invocations with shorter ones? If you're a type 3 person then of course god forbid, no true hacker worth their salt will want to spoil the purity of their artisanal command line incantations with unnatural ersatz-commands, got it.

Re:Uv is the best thing to happen to the Python ecosystem in... by ASalazarMX on Wednesday October 29, 2025 @05:42PM (#45753453)
Command alias? Even Windows can do them these days.
Re:Uv is the best thing to happen to the Python ecosystem in... by bdangubic on Wednesday October 29, 2025 @04:55PM (#45752886)
alias it to “p”