S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
linux 2026-10-19

Bun Setup Ubuntu: Fast JavaScript Runtime, First Script Running

This guide is a companion to Bun Setup Ubuntu: Fast JavaScript Runtime, First Script Running, and the video is the starting point for everything below. There is no separate research folder for this one, so this guide is built from the video itself plus the official Bun documentation. Watch the video first for the narrated run-through, then use the sections below as the written reference. Video claims and added research are labeled throughout, and anything not verified here is marked untested rather than stated as fact.

What you need

Prerequisite checks showing Ubuntu 24.04 with unzip already on PATH
Prerequisite checks showing Ubuntu 24.04 with unzip already on PATH (Still from the walkthrough video.)

Install with the official script

Install step running the official script with the two PATH export lines
Install step running the official script with the two PATH export lines (Still from the walkthrough video.)

Verify and run your first script

First run showing hello.ts executed by Bun with version 1.4.3 on linux
First run showing hello.ts executed by Bun with version 1.4.3 on linux (Still from the walkthrough video.)

Keep Bun updated

Watch the walkthrough

Watch on YouTube