bun
cliSupported platforms: darwin, linux.
Install
skt install bun@<version> --jsonSource
- Type
- cli
- Checksum style
- combined
- Download URL
- https://github.com/oven-sh/bun/releases/download/bun-v{version}/{download_file}
- Checksum URL
- https://github.com/oven-sh/bun/releases/download/bun-v{version}/{checksum_file}
Recipe TOML
name = "bun"
type = "cli"
# bun ships a per-platform zip; the binary lives at bun-<os>-<arch>/bun
# inside it, so exe-path is tokenised to match the asset directory.
[platform.linux]
download-file = "bun-{os}-{arch}.zip"
checksum-file = "SHASUMS256.txt"
exe-path = "bun-{os}-{arch}/bun"
[platform.darwin]
download-file = "bun-{os}-{arch}.zip"
checksum-file = "SHASUMS256.txt"
exe-path = "bun-{os}-{arch}/bun"
[install]
download-url = "https://github.com/oven-sh/bun/releases/download/bun-v{version}/{download_file}"
checksum-url = "https://github.com/oven-sh/bun/releases/download/bun-v{version}/{checksum_file}"
checksum-style = "combined"
# bun uses x64/aarch64 rather than the amd64/arm64 it shares with node.
[install.arch]
amd64 = "x64"
arm64 = "aarch64"
[resolve]
git-url = "https://github.com/oven-sh/bun"
# bun tags its releases bun-v1.1.0 (not v1.1.0).
version-pattern = "^bun-v((?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+))$"