← Back to context

Comment by blt

4 days ago

Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.

I asked the same question for Anthropic's version of this. Why is all of this in JS?

  • JS is web's (and "hip" developer's) python, and in many ways it is better. Also the tooling is getting a lot better (libraries, typescript, bundling, packaging, performance).

    One thing I wonder that could be cool: when Bun has sufficient NodeJS compatibility the should ship bun --compile versions so you dont need node/npm on the system.

    Then it's arguably a, "why not JS?"

this is a strong HN comment. lots of “putting a stick in my own bicycle wheel” energy

there are tons fascinating things happening in AI and the evolution of programming right now. Claude and OpenAI are at the forefront of these. Not trying it because of npm is a vibe and a half.

Why? I am not the biggest fan of needing a whole VM to run CLI tools either, but it's a low-enough friction experience that I don't particularly care as long as the runtime environment is self-contained.

Same, there are so many options these days for writing CLIs without runtime dependencies. I definitely prefer static binaries.

It might shock you but many of use editors built on browsers for editing source code.

I think the encapsulating comment from a another guy (in Docker or any other of your favorite VM) might be your solution.

What package managers do you use, and what does npm do differently that makes you unwilling to use it?

Yep, this is another one of the reasons why all of these tools are incredibly poor. Like, the other day I was looking at the MCP spec from anthropic and it might be the worst spec that I've ever read in my life. Enshittification at the level of an industry is happening.

if OpenAI had really smart models, they would converted TS/JS apps to Go or Rust apps.

Since they don't, AGI is not here