Skip to content

bunx bun-pr failing with stderr: "bun: command not found: unzip\n" #25419

@Araxeus

Description

@Araxeus

What version of Bun is running?

1.3.4+5eb2145b3

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

run bunx bun-pr (on windows?)
specifically i ran bunx bun-pr 25414 from #25414

What is the expected behavior?

should work

What do you see instead?

╰─ bunx bun-pr 25414
Searching GitHub for artifact bun-windows-x64 from PR # 25414...
Found artifact bun-windows-x64
Choosing artifact from run that started Dec 8, 2025, 9:39:09 AM
Downloading "bun-windows-x64" from PR # 25414
-> https://buildkite.com/organizations/bun/pipelines/bun/builds/33009/jobs/019afce6-67f6-4b0d-b519-a3365492d9b4/artifacts/019afcf5-5121-4fb9-999b-ccc105d349ca

1443 |
1444 |   const dest = `bun-${PR_OR_COMMIT.value}-${sha}`;
1445 |
1446 |   await $`rm -rf ${ARTIFACT_NAME} ${dest} ${ARTIFACT_NAME}.zip ${ARTIFACT_NAME}-artifact.zip ${filename}`;
1447 |   await Bun.write(filename, blob);
1448 |   await $`unzip ${filename} && rm -rf ${filename}`.quiet();
                      ^
ShellError: Failed with exit code 1
 exitCode: 1,
   stdout: "",
   stderr: "bun: command not found: unzip\n",

      at new ShellPromise (75:16)
      at BunShell (190:35)
      at C:\Users\Araxeus\AppData\Local\Temp\bunx-4095966314-bun-pr@latest\node_modules\bun-pr\bun-pr.ts:1448:9

Bun v1.3.4 (Windows x64

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions