From 5469abacb8532817eeef3b80047231973322eb35 Mon Sep 17 00:00:00 2001 From: HiranoMasaaki Date: Wed, 25 Feb 2026 15:14:45 +0000 Subject: [PATCH] fix: change CLI shebang from bun to node The published CLI bundle works with node. Using #!/usr/bin/env node allows npx perstack@latest to work without bun installed. Co-Authored-By: Claude Opus 4.6 --- .changeset/fix-cli-shebang-node.md | 5 +++++ apps/perstack/bin/cli.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fix-cli-shebang-node.md diff --git a/.changeset/fix-cli-shebang-node.md b/.changeset/fix-cli-shebang-node.md new file mode 100644 index 00000000..f463894c --- /dev/null +++ b/.changeset/fix-cli-shebang-node.md @@ -0,0 +1,5 @@ +--- +"perstack": patch +--- + +Change CLI shebang from `#!/usr/bin/env bun` to `#!/usr/bin/env node` so `npx perstack` works without bun installed. diff --git a/apps/perstack/bin/cli.ts b/apps/perstack/bin/cli.ts index d5ff86a9..38a34236 100755 --- a/apps/perstack/bin/cli.ts +++ b/apps/perstack/bin/cli.ts @@ -1,4 +1,4 @@ -#!/usr/bin/env bun +#!/usr/bin/env node import { PerstackError } from "@perstack/core" import { installHandler } from "@perstack/installer"