Getting started
Bazilion ships as one npm package, bazilion, with the CLI, the daemon and the web UI. The daemon
creates its home on first start; there is no separate init step.
What you need
Section titled “What you need”- Nothing to install first with the one-line installer: it brings its own Node.js. With npm,
Node.js
^26.12.1(26.12.1 or a later 26.x); the CLI refuses any other Node version. - A model provider: a ChatGPT account, an API key (OpenAI, Anthropic, Google and many others) or a local server (LM Studio, Ollama, llama.cpp).
- macOS or Linux. Linux is the tested platform; macOS runs commands on the host. Windows is not supported yet.
Install on a Mac
Section titled “Install on a Mac”-
Open Terminal: press ⌘ Space, type
Terminaland press Return. -
Paste this line and press Return:
Terminal window curl -fsSL https://bazilion.com/install.sh | bash -
Wait a minute or two. Bazilion opens in your browser, already signed in, on its first-run screen.
That is the only time you need Terminal. Bazilion keeps running in the background and starts by itself when you log in. Next time, open the Bazilion app from Applications, Launchpad or Spotlight. To update, run the same line again.
![]()
The installer asks for no password and changes no settings. It puts its own Node.js and
Bazilion in ~/.local/share/bazilion, a bazilion command in ~/.local/bin, the app in
Applications, and your data in ~/.bazilion. macOS may say that node added an item that can
run in the background: that is Bazilion, listed under System Settings → General → Login
Items. To remove the app and stop it running, ~/.local/bin/bazilion app remove;
bazilion uninstall then deletes your data.
Install on Linux
Section titled “Install on Linux”The same line installs its own Node.js and Bazilion, without an app; then start Bazilion, which opens your browser signed in:
curl -fsSL https://bazilion.com/install.sh | bash~/.local/bin/bazilion dashboardInstall with npm
Section titled “Install with npm”With a supported Node already installed (or run each command as npx bazilion …):
npm install -g bazilionbazilion dashboardbazilion dashboard starts the daemon on 127.0.0.1:4321 and the web UI on 127.0.0.1:4322,
and opens your browser, signed in (--no-open skips that). On a Mac, bazilion app install
gives this install the Bazilion app and runs it in the background. On first start the daemon
creates ~/.bazilion (or $BAZILION_HOME) with its database and a bootstrap token in
auth.json. bazilion serve starts only the daemon.
Sign in and connect a provider
Section titled “Sign in and connect a provider”The installer, the Bazilion app, bazilion dashboard and bazilion open open the browser
signed in, with a link that works once. Another browser or device signs in with a token:
bazilion token show-local prints the bootstrap token, and the CLI reads it by itself.
Until one provider is connected, every page leads to the first-run screen (/welcome). It is
one step: choose a provider, paste its API key (or sign in with ChatGPT, or use a model server
found On this computer), keep the suggested models and press Connect and test. The test
asks the cheapest chosen model for a short reply, which the provider may bill, and nothing is
saved unless it answers. Bazilion then creates a default Profile and a default Team.

The same from a terminal:
bazilion provider connect anthropic # asks for the key, without echobazilion provider connect lmstudio # a model server at its usual address# A ChatGPT plan: sign in, then connect.bazilion auth openai login && bazilion provider connect openai-codexbazilion auth openai login opens a browser and waits for the callback on localhost:1455; use
--device-code on a remote or headless machine. provider connect also takes --key, but a key
on the command line can land in your shell history; its prompt and the web page avoid that.
Providers and models has the other providers, how
to choose models and what a provider’s state means.
First Agent
Section titled “First Agent”Start chatting on the first-run screen spawns an Agent from the default template and opens
its conversation. From the workspace, use Add the first Agent or New, and say what it is
for so it starts working at once; or:
bazilion agent spawn --profile default --name first --role "Answers questions about my notes"bazilion agent chat <agent-id> --message "say hi"agent chat runs one turn and streams it; the web chat is the conversational client. Next, read
Core concepts and the web interface tour.
Upgrade to 0.26.0
Section titled “Upgrade to 0.26.0”There are no database migrations. A release opens a home only when its schema matches the one it ships; otherwise the daemon refuses to start and leaves the home untouched.
From 0.26, 0.27 or 0.50 to 0.61: 0.62.0 uses the same schema, so the
home opens as it is. Stop the daemon, run npm install -g bazilion@0.62.0 and start Bazilion
again; or run the one-line installer, which installs its own copy beside the old one (remove
that with npm uninstall -g bazilion). Coming from 0.26 or
0.27, the web UI is laid out anew: see the tour of the web interface.
Coming from 0.50 or earlier, providers you had switched on keep working and read “Not tested yet”
under Setup → Models until their first test.
From 0.25.0 or earlier: 0.26.0 reset the schema, so the home is refused. To move to the current release:
-
Stop the daemon and copy the whole home somewhere safe, with any project a linked Team points to. A
bazilion backup createarchive works too, but only the release that wrote it can restore it.Terminal window cp -a ~/.bazilion ~/.bazilion-0.25 -
Install the new release and reset the home.
uninstallkeeps installed skills;--allremoves them too.Terminal window npm install -g bazilion@0.62.0bazilion uninstall --yes -
Start Bazilion again; it bootstraps a fresh home. Connect a provider and recreate the Teams and Agents you need.
Terminal window bazilion dashboard
Nothing is imported from the old home. Keep the copy, and the release that wrote it, for as long as you need the old data. A refusal caused by the Node version means upgrading Node, never resetting the home.
Reset a home
Section titled “Reset a home”bazilion uninstall # asks once, then resets the homebazilion uninstall --yes # reset without askingbazilion uninstall --yes --all # also delete installed skills, then the emptied homeThe reset deletes bazilion.db, auth.json, profiles/, agents/, teams/ and browsers/,
and keeps skills/. It refuses while the daemon runs. Linked Team slots are unlinked; the
projects they point to are not touched. Provider keys and the Telegram setup must be entered
again afterwards.
Work on the source
Section titled “Work on the source”git clone https://github.com/rullopat/bazilion && cd bazilionmise install # Node 26.12.1 and pnpm 12.15.0 from mise.tomlpnpm installpnpm tsx apps/cli/src/index.ts serve # the daemon from source, no build stepcd apps/web && pnpm dev # the web UI on http://127.0.0.1:4322From a checkout every bazilion <cmd> is pnpm tsx apps/cli/src/index.ts <cmd>. After switching
Node versions, run pnpm rebuild better-sqlite3 (or pnpm install --force).
Where to next
Section titled “Where to next”- Core concepts: Profiles, Agents, Teams, policy, memory and the mailbox.
- The web interface: a tour of every page.
- Tools & integrations: web research, the browser, MCP and files.
- Coding with Agents: host or Docker, and repository instructions.
- Connecting Telegram: one topic per Agent.
- Configuration: providers, settings, tokens and the on-disk layout.
- How Bazilion is different: if you are coming from OpenClaw.