frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Bun-install – Global CLI installer for Bun with local monorepo support

https://github.com/joeycumines/bun-install
2•joeycumines•1h ago
Hey HN,

This is a CLI tool I initially built as a convenient and reliable way to install executable(s) from a local monorepo workspace into Bun's global package store.

I had a local monorepo with workspace dependencies that needed to be installed as a whole. The commands aren't bundled, and I didn't want to manually manage dependencies. (If you want to try it out, https://github.com/open-pencil/open-pencil is what I was contributing to)

I tried `bun link` initially. But linking directly meant I had to keep a separate local checkout just so branch switches wouldn't break my installed tools. `bun-install` solves this by packaging the dependencies and installing a snapshot to Bun's global store instead.

I later added the `--bun` (and `--package`) options, which mirror the `bunx` option which supports using `bun` over `node`, after I ran into some annoying JS-execution-environment-related issues. I've found the recurring theme with JS-managed commands is they tend to be fragile when installed globally on machines used for development purposes, susceptible to both runtime and update time incompatibilities and breakages. I concluded this was something of a confluence of factors: A vast ecosystem, numerous runtime environments, and indirection between what's installed (the module) and what's executed (the contents of the bin directory end users add to their PATH). This project doesn't magically fix all of those, but, for me personally, it has completely resolved what was a long-standing pain point.

Highlights:

- Topological resolution: builds and packs sibling dependencies in order.

- Command filtering: `bun-install -p my-cli tool-a`. Strips unselected commands from the manifest so they don't clobber existing global symlinks.

- Shebang rewriting: forces Node shebangs to `#!/usr/bin/env bun` (and injects them if missing). Installed commands actually run under Bun.

- Safe binary scanning: does an 8 KiB null-byte scan so it doesn't mangle non-node scripts or native executables.

- Workspace support: install the local state, great for dev, works with internal dependencies that aren't published.

- Cleans up temporary tarballs and drains TTY input on interactive prompts to prevent stdin bleed.

(pre-v1, so the API might change, but the core implementation is stable).

Try it out: bun add -g bun-install

NPM: https://www.npmjs.com/package/bun-install GitHub: https://github.com/joeycumines/bun-install

I'll be around to answer any questions. Might not respond immediately though :)

Martian Chaos Terrain

https://en.wikipedia.org/wiki/Martian_chaos_terrain
1•tiagod•27s ago•0 comments

Show HN: I made a bullet heaven game no one seems showing intresting

https://store.steampowered.com/app/5170580/Blend_Hunter_Smoothie_Bullet_Heaven/
1•sacravenger•43s ago•0 comments

Rate limits for private vulnerability reports

https://github.blog/changelog/2026-10-01-rate-limits-for-private-vulnerability-reports/
1•tech234a•2m ago•0 comments

Show HN: Agent team runtime with concrete lifecycle management

https://github.com/ringlochid/oh-my-subagents
1•ringlochid•3m ago•0 comments

Agentic coding's effect on Hacker News hiring threads

https://bsky.app/profile/largbae.bsky.social/post/3mwtqukfbcs23
1•largbae•6m ago•1 comments

HarnessTax: How Much Does the Harness Matter for Coding Agents?

https://arena.ai/blog/coding-agents-harness-tax
1•luispa•7m ago•0 comments

Show HN: QLCodePreview, syntax highlighting in Finder's Quick Look

https://konstruukt.com/projects/qlcodepreview/
1•realityloop•7m ago•1 comments

AI Benchmark Scores: Why 82% is actually 57%

https://lessuncertain.substack.com/p/how-to-read-and-haircut-ai-benchmark
1•luhe1900•9m ago•0 comments

Vaping for Crypto

https://www.nejm.org/doi/full/10.1056/NEJMp2606580?query=featured_home
1•maxall4•9m ago•0 comments

Reddit is ending RSS support on November 13

https://www.reddit.com/r/modnews/comments/1wubgvt/continuing_our_infrastructure_updates_whats/
3•soheilpro•9m ago•0 comments

100% free coding agent funded by ads

https://freebuff.com
1•darweenist•15m ago•0 comments

Merchants, Slaves, Peculium: The History of LLCs

https://www.kjmlaw.com/merchants-slaves-peculium-history-llcs/
1•gradus_ad•16m ago•0 comments

Intercommunalism

https://en.wikipedia.org/wiki/Intercommunalism
1•mooreds•17m ago•0 comments

Open-source, community-driven infrastructure for decentralized social media

https://github.com/blacksky-algorithms
1•mooreds•17m ago•0 comments

OVOS and Mycroft: A Fork That Wasn't Meant to Be

https://blog.openvoiceos.org
1•giancarlostoro•17m ago•0 comments

All Protection, All Month

https://mailchi.mp/vennfactory/oct-a-productivity
1•mooreds•18m ago•0 comments

Senate holds a hearing on AI [video]

https://www.youtube.com/watch?v=QYsfNRCj8H8
1•smalltorch•19m ago•0 comments

The Siren Call of Silicon Leviathan: Reflections on Blowup and Aufklärungsdämmer

https://arxiv.org/abs/2609.28591
1•hkhn•19m ago•0 comments

The essay on the Navier-Stokes story that everyone should read

https://siliconreckoner.substack.com/p/the-essay-on-the-navier-stokes-story
1•hkhn•22m ago•0 comments

Codex stopped working after latest update on macOS

https://twitter.com/theadriannoel/status/2105821027108343926
1•absqueued•23m ago•1 comments

Coarse-Grained Reconfigurable Array (CGRA)

https://en.wikipedia.org/wiki/Coarse-grained_reconfigurable_array
1•peter_d_sherman•28m ago•1 comments

Dozens hurt and hundreds arrested in wave of French school protests

https://www.bbc.co.uk/news/articles/c862epne7glyo
1•FridayoLeary•36m ago•0 comments

Best Bitcoin Commercial

https://twitter.com/bramk/status/2105780416141738076
1•cft•37m ago•0 comments

Stop trying to make xenophobia sound smart

https://www.theargumentmag.com/p/stop-trying-to-make-xenophobia-sound
2•NomNew•42m ago•0 comments

Show HN: Giving Opus 5.5 a simulated paint canvas

https://stillwet.art/
2•alstonite•43m ago•0 comments

Superhuman AI for Stratego

https://arxiv.org/abs/2511.07312
2•droidjj•44m ago•0 comments

NASA has a Dragon dilemma, and there appear to be no good answers

https://arstechnica.com/space/2026/09/nasa-has-a-dragon-dilemma-and-there-appear-to-be-no-good-an...
2•Terretta•46m ago•0 comments

Quest: Open-source, safety-focused harness

https://github.com/electric-capital/quest
2•puntium•49m ago•1 comments

Where Are the Prepared Minds? The Impact of AI on Scientific Thinking

https://ai.nejm.org/doi/full/10.1056/AIe2601110?query=featured_home
1•Alien1Being•51m ago•0 comments

Google's Project Suncatcher prototype satellite is in orbit

https://blog.google/innovation-and-ai/models-and-research/google-research/project-suncatcher-prot...
4•xnx•1h ago•0 comments