Bun
Bun is a fast, incrementally adoptable all-in-one JavaScript, TypeScript & JSX toolkit. Use individual tools like bun test or bun install in Node.js projects, or adopt the complete stack with a fast JavaScript runtime, bundler, test runner, and package manager built in. Bun aims for 100% Node.js compatibility.
Installation Instructions
Linux
Linux
Download Bun
{
"url": "{{ .SVar `.tool.bun.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.bun.download.filename` }}",
"overwrite": false
} Extract Bun Release
{
"destination": "{{ .PTools }}/bun/{{ .SVar `.tool.bun.download.version` }}",
"max_file_size": 0,
"skip_symlinks": false,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.bun.download.filename` }}"
} Move files up one level to simplify directory structure
{
"source": "{{ .PTools }}/bun/{{ .SVar `.tool.bun.download.version` }}/bun-linux-x64",
"destination": "{{ .PTools }}/bun/{{ .SVar `.tool.bun.download.version` }}",
"overwrite_duplicates": false
}
MacOS
MacOS
Download Bun
{
"url": "{{ .SVar `.tool.bun.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.bun.download.filename` }}",
"overwrite": false
} Extract Bun Release
{
"destination": "{{ .PTools }}/bun/{{ .SVar `.tool.bun.download.version` }}",
"max_file_size": 0,
"skip_symlinks": false,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.bun.download.filename` }}"
} Move files up one level to simplify directory structure
{
"source": "{{ .PTools }}/bun/{{ .SVar `.tool.bun.download.version` }}/bun-darwin-x64",
"destination": "{{ .PTools }}/bun/{{ .SVar `.tool.bun.download.version` }}",
"overwrite_duplicates": false
} Binaries
- bun