01Install and pair
One command to install, then scan to pair
On the PC you want to watch from your phone, open PowerShell with the Windows account you normally use and run the install command. No administrator rights needed.
Install
irm https://botbus.io/install.ps1 | iexWhat the install script does
- Downloads the version listed on this page. It’s an x64 program: Windows 11 on ARM PCs runs it through its built-in emulation, while ARM PCs on Windows 10 can’t install it.
- Checks the download against the SHA-256 in the release manifest, and stops without installing anything if it doesn’t match.
- Extracts it to
%LOCALAPPDATA%\Programs\BotBusand adds that folder to your user PATH (sobotbusworks in any terminal you open afterwards). System folders are left alone. - Runs
botbus up: creates a “BotBus” task in Task Scheduler that starts it in the background every time you sign in to Windows, then opens the BotBus icon in the notification area, which also starts when you sign in. - If Claude Code is on this PC (
%USERPROFILE%\.claudeexists), installs BotBus’s Claude Code hooks so Claude sessions started on the PC also show up on your phone; uninstalling removes them. - Shows a pairing QR code in the PowerShell window and waits for you to scan it with your phone.
When it isn’t run in an interactive terminal (remote scripts, automated deployment), the script only starts the background process and doesn’t show a pairing code, so a pairing link carrying a key never ends up in a log. Afterwards, right-click the tray icon on that PC and choose to pair a phone, or run botbus pair in a terminal.
Pair your phone
- Scan the QR code in the PowerShell window with BotBus on your phone. The code is drawn with characters, so make the window bigger if it doesn’t fit.
- You can also right-click the BotBus icon in the notification area and choose to pair a phone, then scan the code in the window that opens.
- If you can’t scan it, send the pairing link from that window to your phone and open it there. The link carries an encryption key: only pass it between your own devices, and don’t paste it into chats or tickets.
- Pairing codes expire; if one has, run
botbus pairagain (or reopen it from the tray menu). - Already paired and want to add another phone? Run
botbus pairtoo; it creates an invitation.
02Everyday use
The tray icon and the botbus command
The tray icon and the botbus command both run as your user and talk to the background process over a local channel only you can use.
Tray icon
The BotBus icon in the notification area changes color with the connection status. Left-click it (or open BotBus from the Start menu) for the main window: it lists the agents on this PC, each with “open desktop app” and “open in terminal” buttons, or a way to install it if it’s missing. Claude Code and Codex opened from here use the same program and sign-in as the BotBus background process (Claude Code gets its hooks installed first), so sessions you start on the PC show up on your phone. The gear in the top-right corner opens the settings window.
Its right-click menu has:
- Open BotBus (the main window);
- the current version, connection status, and how many tasks are running or waiting for you; when an update is out, one click installs it;
- the agents on this computer: each has a submenu listing the sessions started from your phone (click one to continue it in a terminal), a switch to turn it on or off, “open in terminal” (to sign in), and its settings;
- Add Agent: every agent BotBus supports, with a website and a one-line install command for the ones you don’t have yet; click “Re-detect” after installing. If no agent is found at all, the tray reminds you once;
- paired phones (click one to open its settings page, where you can remove it), and pairing a phone;
- Settings: the same settings window as on the Mac (connection status, paired devices, each agent, Add Agent, the folder for new projects, starting at sign-in, checking for updates);
- opening the log (the tray looks after the background process: if it isn’t running, the tray starts it when the tray launches or when you open the menu);
- quitting the tray icon (the background process keeps running; run
botbus trayto bring the icon back).
The menu is in Chinese for now. Windows may tuck new icons behind the “Show hidden icons” arrow; drag it onto the taskbar to keep it visible.
Commands
| Command | What it does |
|---|---|
botbus up [--no-pair] | Sets up and starts the background process and tray icon that launch when you sign in; shows a pairing QR code if you haven’t paired yet. Run it again after replacing the program to switch the background process to the new version |
botbus pair | Pairs a phone; if already paired, creates an invitation for another phone |
botbus status [--json] | Connection status, paired phones, detected agents, and whether a new version is available |
botbus agents | Lists detected agents; botbus agents enable|disable <kind> turns one on or off (for example claude or codex; ACP agents are acp:<id>) |
botbus phones | Lists paired phones; botbus phones remove <id> removes one |
botbus unpair | Dissolves the whole pairing group; every phone has to scan again |
botbus logs [-f] | Shows the background log, %LOCALAPPDATA%\BotBus\daemon.log |
botbus tray | Opens the BotBus icon in the notification area |
botbus open | Opens the main window (the agents on this PC and buttons to open them) |
botbus settings | Opens the settings window |
botbus down | Stops the background process and keeps your credentials; it still starts again the next time you sign in |
botbus update | Updates to the latest version |
botbus uninstall [--purge] | Removes the background process, tray icon, and program; --purge also deletes credentials and data |
botbus --version | Shows the version |
The botbus share, link, list, and mcp commands that agents use in phone tasks work the same as on the Mac. The Windows version doesn’t support development previews (botbus preview) or controlling the PC’s screen yet.
Update
botbus update- Downloads the new version for your architecture from the botbus.io release manifest, checks its SHA-256 and Ed25519 signature, replaces the program, restarts the background process and tray icon, and confirms the new version is the one running.
botbus statustells you when a new version is out (it checks once a day).- You can also rerun the install command: after installing the new program, the
botbus upit runs switches the background process to the new version.
Uninstall
botbus uninstallYou can also find BotBus under Windows Settings → Apps → Installed apps and choose Uninstall; it does the same.
Stops the background process, deletes the “BotBus” scheduled task, the tray icon’s autostart, and BotBus in the Start menu and in Installed apps, removes BotBus’s hooks from Claude Code’s settings, and takes the program folder off your user PATH and deletes it. Your credentials stay in %LOCALAPPDATA%\BotBus, so you won’t have to pair again after reinstalling.
botbus uninstall --purgeAlso deletes credentials and data (%LOCALAPPDATA%\BotBus). The PC then shows as offline on your phone, and you can remove it there.
03Troubleshooting and reference
Troubleshooting
Common situations
- “botbus” is not recognizedPATH changes only reach terminals opened afterwards. Close and reopen PowerShell, or run
& "$env:LOCALAPPDATA\Programs\BotBus\botbus.exe"directly. - Claude Code or Codex doesn’t show up on the phoneThe background process uses the PATH from when you ran
botbus up. Install the agent first, make sureGet-Command claude(orcodex) finds it in a new terminal, then runbotbus upagain.botbus agentslists the agents it found. - Claude Code sessions started on the PC don’t show up on the phone
botbus upinstalls the hooks when%USERPROFILE%\.claudeexists. After installing Claude Code, runbotbus upagain. Sessions started from the phone don’t depend on hooks. - Can’t find the tray iconLook behind the “Show hidden icons” arrow in the notification area first. If you quit the tray icon, run
botbus tray. - The PC doesn’t allow scheduled tasksSome work PCs don’t let regular users create scheduled tasks.
botbus upthen starts the background process directly, but you’ll need to runbotbus upagain after signing in next time. - The background process won’t start or its status looks wrongCheck
botbus logs(add-fto follow it).botbus statusalso reports reasons such as failing to read credentials. - The log shows <private> instead of contentBy default the log redacts strings like task content and paths. To debug, run
botbus down, then temporarily run it in the foreground with$env:BOTBUS_LOG_PRIVATE = '1'; botbus daemon; press Ctrl-C when done and runbotbus up. That log contains task content, so check it before sharing.
Manual install
If you’d rather not pipe a script, you can download, verify, and extract it yourself. The files for this version (the same package for x64 and ARM PCs):
| Architecture | File | Size | SHA-256 |
|---|---|---|---|
| x64 | botbus-1.0.5-windows-x86_64.zip.sha256 | 52.5 MB | 6ab5c413f06e17d5d75e42cc01811999ed6e67211ccbda4b270e767b10826369 |
$Version = '1.0.5'
$File = "botbus-$Version-windows-x86_64.zip"
Invoke-WebRequest -UseBasicParsing "https://botbus.io/downloads/windows/$File" -OutFile $File
(Get-FileHash $File -Algorithm SHA256).Hash.ToLower()
Expand-Archive $File "$env:LOCALAPPDATA\Programs\BotBus" -Force
& "$env:LOCALAPPDATA\Programs\BotBus\botbus.exe" upThe SHA-256 printed by the fourth line should match the table above. A manual install doesn’t change PATH: to use botbus from any terminal, add %LOCALAPPDATA%\Programs\BotBus to your user PATH. Release packages also carry an Ed25519 signature, which botbus update verifies.
Where files live
| Location | Contents |
|---|---|
%LOCALAPPDATA%\Programs\BotBus\ | The program: botbus.exe (the command line), botbusw.exe (the background process and tray icon, without a console window), and the runtime libraries they use |
%LOCALAPPDATA%\BotBus\ | Pairing credentials credentials.dat (encrypted with Windows DPAPI), settings, and the log daemon.log |
| “BotBus” in Task Scheduler | Starts the background process when you sign in to Windows |
BotBus under HKCU\Software\Microsoft\Windows\CurrentVersion\Run | Opens the tray icon when you sign in |
| “BotBus” in the Start menu | Opens the main window (and the tray icon if it isn’t running) |
| BotBus in Settings → Apps → Installed apps | Version, size, and the uninstall entry (HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\BotBus) |
\\.\pipe\botbus-admin-… | The management channel the botbus command and tray icon use to talk to the background process; it only accepts connections from you |
Security
- Content is end-to-end encrypted: tasks, conversations, and commands are encrypted on this PC before they leave, and the server only relays ciphertext it can’t read. See End-to-end encryption.
- Pairing credentials are encrypted with Windows DPAPI, so only your Windows account on this PC can decrypt them; the files and the management channel are restricted to you, and other users on the same PC can’t read them or connect.
- The pairing link carries a key and is only shown in your terminal and the tray’s pairing window, never written to a log.
- The install script checks the SHA-256 from the release manifest;
botbus updatealso verifies the Ed25519 signature.