Bun Codesign a Single File JavaScript Executable on macOS

Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.

9 stars 1 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jarle/bun-skills --skill Bun Codesign a single-file JavaScript executable on macOS
Manual install
git clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-guides-runtime-codesign-macos-executable ~/.claude/skills/Bun-Codesign-a-single-file-JavaScript-executable-on-macOS

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Codesign a single-file JavaScript executable on macOS

> Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.

Compile your executable using the `--compile` flag.

```sh  theme={"theme":{"light":"github-light","dark":"dracula"}}
bun build --compile ./path/to/entry.ts --outfile myapp
```

***

List your available signing identities. One of these will be your signing identity that you pass to the `codesign` command. This command requires macOS.

```sh terminal icon="terminal" theme={"theme":{"light":"github-light","dark":"dracula"}}
security find-identity -v -p codesigning
```

```txt  theme={"theme":{"light":"github-light","dark":"dracula"}}
1. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX "Developer ID Application: Your Name (ZZZZZZZZZZ)"
   1 valid identities found
```

***

Optional, but recommended: create an `entitlements.plist` file with the necessary permissions for the JavaScript engine to work correctly.
Read the full skill on GitHub

Details

Skill name
Bun Codesign a single-file JavaScript executable on macOS
Path
skills/bun-guides-runtime-codesign-macos-executable/SKILL.md
License
MIT
Repo updated
24 February 2026

FAQ

What does the Bun Codesign a Single File JavaScript Executable on macOS skill do?

Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.

How do I install the Bun Codesign a Single File JavaScript Executable on macOS skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Codesign a single-file JavaScript executable on macOS. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bun Codesign a Single File JavaScript Executable on macOS popular?

It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.

Related skills

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.