ykononov.com bb + agents / hands-on course Glossary FAQ RU

ykononov.com / Vibe coding from scratch: bb, Claude Code, Codex, and OpenCode / Module 04

How to install bb (getbb.app) on Mac, Windows, and Linux

Module 04 of 11 · 20 min · updated 2026-11-28

Installing on Mac and Windows, the options for Linux, and the first launch.

In short

On a Mac with Apple silicon, install bb from the .dmg file at getbb.app/download or with brew install --cask bb. On Windows, use the .exe installer; Git for Windows is required. On Linux, Intel Macs, and servers, run npx bb-app@latest and open the interface at localhost:38886. On first launch, the setup guide lists the agents it found and offers to sign you in with GitHub.

Installing the app

Pick your operating system. On Mac and Windows this is an ordinary app install; Linux gets its own step, which comes next.

Your computer

Mac with Apple silicon (M1 or later)

  1. Open getbb.app/download and download the macOS version, a file with the .dmg extension.
  2. Open the downloaded file and drag the bb icon into the Applications folder.
  3. Launch bb from Applications or through Spotlight (Cmd + Space). The first time, macOS asks whether you want to open an app downloaded from the internet. Confirm.

If you use Homebrew, one command does the same thing:

brew install --cask bb

Mac with an Intel processor

There’s no packaged app for Intel processors. You start bb with a command and it opens in your browser, the same way it does on Linux. Switch the tab above to Linux and follow the next step, using “Option 2: running bb with a command.” To find out which processor you have, open the Apple menu → About This Mac.

Windows 10 and 11

  1. Make sure Git for Windows is installed (see the previous module). bb doesn’t work on Windows without it.
  2. Open getbb.app/download and download the Windows version, a file with the .exe extension.
  3. Run the installer. If SmartScreen warns you about an unknown publisher, click “More info” → “Run anyway.”
  4. Launch bb from the Start menu.
If the native version misbehavesThe Windows build is labeled alpha. The fallback is WSL, which is Linux running inside Windows. Run wsl --install in PowerShell as administrator, restart your computer, and open the Ubuntu app that appears. From there, follow the Linux instructions, including installing the agents: inside WSL they have to be installed again. It’s a longer route, but it’s the one the bb developers describe as supported in their README.

There are two ways to run bb on Linux, and the next step covers both: an AppImage app, and a command that serves the interface in your browser. Click “Next” to go there.

Once it’s running, bb checks for updates on its own: starting with version 0.50, the app updates automatically.

Linux, Intel Macs, and servers

You need this step if you’re on Linux or an Intel Mac. Everyone else should still skim it, because it also explains how bb runs on a server, and that comes up again in module 11.

Option 1: the app (AppImage)

getbb.app/download has a Linux x64 build in AppImage format: a single file that needs no installation. Download it, make it executable, and run it:

chmod +x bb-*.AppImage
./bb-*.AppImage

This build is labeled alpha. If no window opens, move on to the second option, which is more reliable.

Option 2: running bb with a command

bb is also a regular npm package. A single command starts it, and it opens in your browser. You’ll need Node.js version 22.19, 24, or 26, plus git.

npx bb-app@latest

When the terminal reports that bb has started, open http://localhost:38886 in your browser. Don’t close the terminal window: bb runs only while it stays open.

The “Could not locate the bindings file” errorRecent versions of npm (12 and later) block packages from running install scripts by default, and bb needs them. Start it like this instead:
npx --allow-scripts=better-sqlite3,node-pty,@parcel/watcher bb-app@latest

What else you can do on Linux

Don’t expose the port to the internetWhen you start bb with a command, it accepts connections only from the computer it’s running on. That’s the right behavior: bb has no password, and it can run commands. Don’t forward port 38886 to the outside world, and don’t turn off your firewall “just to get in from my phone.” Remote access is what bb connect is for. It’s free, and module 11 covers it. bb doesn’t have official step-by-step instructions for a server install yet; if you decide to do it, ask an agent to help you set bb up to start automatically.

First launch

bb is now open. On first launch it walks you through a short four-step setup guide.

Step 1. Agent

bb lists the agents it found on your computer. Agents that are installed and ready to go are marked Ready and show your subscription. The rest have an Install button.

First launch of bb: the list of detected agents, with Codex, Claude Code, and opencode marked Ready
The first step of the setup guide: Codex, Claude Code, and opencode were found and are ready. Pi and Cursor aren’t installed, and we don’t need them.

If the agent you want isn’t on the list, or isn’t Ready, then either bb didn’t find it or you haven’t signed in to that agent’s account. The causes, most common first: you installed the agent after starting bb (restart bb); the agent didn’t install properly (check --version in the terminal); you never signed in to the agent’s account; or, on Windows, the agent is installed inside WSL while bb runs outside it, or the other way around.

Step 2. Projects

bb offers to add the code folders it finds on your computer. You most likely don’t have any, so click Continue. We’ll create a project in the next module.

Step 3. Plugins

A list of add-ons. Leave it as it is and move on; we’ll come back to plugins in module 11.

Step 4. Devices: signing in with GitHub

Here bb offers to turn on bb connect, a personal address where you can reach your bb from your phone. That requires signing in to a bb account, and you sign in with GitHub.

The last step of the bb setup guide: an offer to set up bb connect with the Set up button
The last step of the setup guide. The Set up button starts the bb account sign-in.
  1. Click Set up. The getbb.app site opens.
  2. Choose to sign in with GitHub and approve the access request. If you don’t have a GitHub account, you can create one right there.
  3. Pick a handle. It becomes part of your address: yourname.getbb.app.
  4. Confirm that you want to connect this computer, then go back to bb.
  5. Click Start using bb.
Why sign in if everything already worksStrictly speaking, bb works on your own computer without signing in, and you can skip this step. But signing in is free, and it unlocks the things many people install bb for: access from your phone, the mobile app, notifications, voice input, and automatic thread titles and commit messages. That’s why we sign in right away in this course. If you skipped it, you can sign in any time under Settings → bb account.

After the setup guide

  1. Install the bb command. Open Settings (the gear icon in the bottom left) and find the bb CLI block in the General section. You’ll hardly ever use this command yourself. Agents use it to control bb from the inside: to open terminals, show pages, and start helpers.
  2. Take a look at Providers. This is the list of agents. bb offers the one marked Default first, so drag your main agent to the top.
  3. Take a look at Updates. This section shows the versions of bb and your agents and can update them. New agent versions come out almost daily, and updating once a week is a good habit.
bb settings, Providers section: the list of agents, with Codex, Claude Code, Pi, Cursor, and opencode
Settings → Providers. On the left you can see the other settings sections that come up in this course: Mobile, Updates, bb account, bb connect, Push notifications.
About telemetryBy default, bb sends anonymized usage statistics to its developers. The contents of your projects and conversations aren’t included. You can turn it off with the environment variable BB_TELEMETRY=false. If that matters to you, ask an agent to set it in your very first conversation.
Before you move on
  • bb opens, either as an app or in the browser at localhost:38886
  • In the setup guide or under Settings → Providers, at least one of my agents is marked Ready
  • I’ve signed in to my bb account with GitHub and picked a handle
  • I found the bb CLI block under Settings → General and installed the bb command

Review questions

How do you run bb on an Intel Mac or a Linux server?

Run npx bb-app@latest, then open localhost:38886 in your browser. bb is also an npm package with a browser interface. That’s the main route for anything that has no packaged app.

You’ve started bb on a home server and want to reach it from your phone. What do you do?

Use bb connect, and don’t expose the port to the outside world. A local bb has no password, and it can run commands on your machine. A port open to the internet is an open door. Remote access is what bb connect is for.

An agent you just installed is missing from the first-launch setup guide. Where do you start?

Restart bb and check in the terminal that the agent responds to --version. bb looks for agents on your computer when it starts. An agent installed later, or one that didn’t finish installing, won’t be on the list. Your subscription and bb account have nothing to do with it.

How do you sign in to a bb account, and what does it give you?

With GitHub; it’s free and unlocks phone access, notifications, and voice input. You create a bb account by signing in with GitHub, and it costs nothing. You still pay for the models through your own subscriptions, directly with Anthropic and OpenAI.

This page covers a single module. The interactive version of the course has steps, quizzes, and checklists that save your progress.

Open this module in the course →
← 03. Installing the agents 05. A tour of bb →

By Yury Kononov, Chief Technology Officer. The course is free and licensed under CC BY 4.0. Updated 2026-11-28. Contact the author: @ykononov.