Hacker News new | ask | show | jobs
by tredre3 783 days ago
Did you know that bun needs to download 37 packages before the repl becomes available? No internet no repl for you.

    PS C:\Users\anon> bun repl
       bun-repl [6/6]
    error: FailedToOpenSocket downloading package manifest bun-repl
    error: bun-repl@latest failed to resolve
Not a big deal, but I was expecting (and frankly excited) to have a single no-install executable to drop in my PATH and have it just work!
1 comments

We haven’t prioritized implementing a repl yet. The current repl is a community-implemented bun-repl npm package. `bun repl` internally does the equivalent of `bunx bun-repl`
Sounds like a security nightmare.

Does `bun foobar` translate to `bunx bun-foobar` as well?

> Does `bun foobar` translate to `bunx bun-foobar` as well?

No.