Setup
Install
Install Sova on a Mac or Linux machine in one command, then start it and open it.
The install script is safe to pipe from curl, needs no sudo, and installs no system packages.
What you need
- macOS on Apple silicon (Intel Macs aren’t supported), or Linux on x64 or arm64 (glibc or musl). Tested on Debian, Fedora and Alpine.
- bash (Alpine has none until you
apk add bash) - Git
- Node.js 22.19 or later
- pnpm, or npx to run the pnpm Sova pins when yours doesn’t run
- curl
- unzip or python3
The server runs on Bun, and so does every chat and worker, each in a process of its own. The installer downloads the Bun version Sova pins into Sova’s own folder and checks it against a recorded checksum; if it can’t, it stops and changes nothing. It doesn’t install a version manager or edit your shell profile.
If your Node or pnpm comes through mise, the versions your own mise configuration names are the ones used. The installer and the launcher tell mise to ignore the mise.toml in Sova’s folders, so nothing it pins is downloaded and your list of trusted folders doesn’t change. A pnpm that doesn’t run there, such as one with no version set, is passed over for npx.
Install
curl -fsSL https://raw.githubusercontent.com/Naomarik/sova/stable/scripts/install.sh | bash
This installs Sova’s newest stable release (the stable tag, which each release moves to itself); running it again updates to the newest stable release then.
The whole script is one function that runs only after bash has read its last line, so a download cut short runs nothing. To install another tag, branch or commit, end the command with | SOVA_REF=<ref> bash instead (SOVA_REF=v0.19.0 stays on that release, SOVA_REF=master follows the latest commit); one that doesn’t exist stops it before it changes anything. It builds Sova in a staging folder and only replaces your install once the build has succeeded; if anything fails, the previous install stays.
What it puts on your machine:
- Sova itself in
~/.local/share/sova, with its Bun inside it. - A launcher,
~/.local/bin/sova. - Sova in your app launcher, with its icon:
~/.local/share/applications/sova.desktopon Linux,~/Applications/Sova.appon macOS. It’s written on every run, and a file of the same name the installer didn’t write stops it before it changes anything (--no-app-entryleaves the entry out). - On macOS, Sova as an app of its own, installed in the browser profile kept for Sova: its own icon and name in the Dock and the app switcher, and no title bar. The browser keeps its own launcher for it,
~/Applications/Chrome Apps.localized/sova.appwith Chrome.--no-app-entryleaves this out too. - Sova’s pi extensions, linked one by one into
~/.pi/agent/extensions/(or your$PI_CODING_AGENT_DIR). Modes aren’t among them: Sova runs them itself, so there’s nomodelink, and the installer removes one an older install left. They’re links, not copies, so an update brings them along. A link left over from another copy of Sova (an older install, a developer checkout) is pointed at this install, and the installer tells you which, with where it used to lead. Anything else already there is left alone, and the installer tells you which extension it skipped. Sova’s own chats always run the extensions of the Sova that runs them, whatever these links say; the links are for the pi terminal. - A login service, only if you say yes.
It writes none of pi’s configuration: no settings.json, models.json, auth.json, or sandbox policy.
Start it and open it
Click Sova in your app launcher, or run:
sova open
Either one starts the server in the background if it isn’t running (through the login service, if you installed one), waits for it, and opens Sova already signed in, in a window of its own with no tabs or address bar. Sessions you already have in ~/.pi/agent show up right away. The server keeps running after you close the window.
The window is Chrome, Chromium, Brave, Edge, Vivaldi or Helium (your default browser if it’s one of them), with a browser profile kept for Sova alone: ~/.config/sova-browser on Linux, ~/Library/Application Support/sova-browser on macOS. Without any of them, Sova opens as a tab of your default browser instead, and the installer tells you so. A browser installed only as a Flatpak isn’t found.
On macOS that window is Sova’s installed app, with no browser title bar: Sova draws a slim band of its own across the top, in its own colours, holding the window buttons at the top left and the browser’s title-bar toggle and ⋮ menu at the top right. Drag the band to move the window; the toggle brings the browser’s title bar back. The installer opens and closes the browser once to install it; on a later run it finds the app already there and leaves the browser alone, and a run whose app install was skipped or failed tries again. If Sova’s window is open, it closes it first when you run the installer in a terminal; an upgrade from Settings leaves it open, and sova open finishes the install the next time it opens Sova. The app the Dock shows is the browser’s own launcher for it: pinned, it opens Sova without starting the server, so pin it if you run the login service, and use Sova otherwise. If the install fails, Sova opens in a bare browser window instead, and sova app --install tries again.
To run the server in a terminal yourself, run sova; Ctrl+C stops it.
| Command | Does |
|---|---|
sova |
Runs the server, on Bun. |
sova --node |
Runs the server on Node instead, with no chats or workers: they need Bun. |
sova open |
Starts the server if needed, then opens the app in its own window, signed in. |
sova app |
The same as sova open; what the app launcher’s Sova runs. |
sova app --install |
macOS: installs Sova as an app of its own again (the installer does it for you). |
sova token |
Prints this install’s access token. |
A server sova open starts writes its output to ~/.pi/agent/sova/app-server.log. If it doesn’t answer within 20 seconds, you get a notification naming that log, and nothing opens. sova token never starts the server; before it has run once there’s no token yet, and it tells you to start it first. On a machine with no browser opener, such as a server you reach over SSH, sova open says so; open the page yourself and paste the token from sova token.
The access token
Sova makes one access token per install the first time it starts, in ~/.pi/agent/sova/auth-token. Every browser needs it once: sova open passes it along for you, and other devices pair with a one-use code instead. See Check in from your phone.
There’s no account, password, or expiry: anyone with the token has the same access you do, so keep it private. To sign every browser out, delete the file and restart Sova.
Options
Pass options to the script after bash -s --:
curl -fsSL https://raw.githubusercontent.com/Naomarik/sova/stable/scripts/install.sh | bash -s -- --service
| Option | Does |
|---|---|
--service |
Installs the login service without asking. |
--no-service |
Doesn’t install it, and doesn’t ask. |
--port <n> |
The port sova and the login service run Sova on. 4800 by default. |
--no-extensions |
Links no pi extensions (links already there stay). |
--no-app-entry |
Adds no Sova to your app launcher (an entry already there stays). SOVA_NO_APP_ENTRY=1 does the same. |
--dir <path> |
Installs Sova there instead of ~/.local/share/sova. |
--bin <path> |
Puts the launcher there instead of ~/.local/bin. |
--reinstall |
Rebuilds even when the install is already up to date. |
A login service
With your yes, or --service, the installer adds a per-user service that starts Sova when you log in and restarts it if it exits: a launchd agent on macOS, a systemd user unit on Linux. Neither needs sudo. On macOS its output goes to ~/Library/Logs/sova.log; on Linux, to the journal.
With neither option it asks, defaulting to no. With no terminal to ask on, it installs none and says how to add one. A service it installed before is kept and updated without asking, unless you pass --no-service, which leaves it as it is. If something already listens on the port, such as a sova you started by hand, it installs the service without starting it, and says so.
The service restarts Sova whenever it exits, but a stop you ask for stays stopped, and a stop gives Sova up to 90 seconds (60 on macOS) to finish its own work. Running chats aren’t stopped. On Linux it stops at logout unless lingering is on (loginctl enable-linger).
It needs launchd or systemd. Where there’s neither (a container, say), the installer doesn’t ask and installs none; run sova yourself instead. --service there stops the install before it changes anything. Where systemctl exists but no systemd user manager is running (no login session, say), the installer writes the unit but doesn’t enable or start it, and its closing message gives the command to start it: systemctl --user enable --now sova.service. To remove such a unit, see the note under Remove it.
Run it again
Running the install command again updates to the newest stable release (or the latest of the SOVA_REF you set); pass the same options as before, since a run without --port goes back to 4800 and a run without --no-app-entry writes the app entry. Running it with the same inputs changes nothing. An install already at the requested version isn’t rebuilt (--reinstall rebuilds it anyway), files are rewritten only when they’d change, and a service is reloaded only when its definition changed and restarted only when the code did. A second copy is never started.
Once Sova runs, it can also update itself: the Updates · this machine section at the bottom of Settings → General checks for a newer stable release (or the branch you choose there) and upgrades when you say so, or by itself if you turn on Upgrade automatically. The version that runs keeps running until the new one answers; if it doesn’t start within a minute, the previous one is put back. See Updates.
Remove it
Stop and remove the login service first, if you installed one. On Linux:
systemctl --user disable --now sova.service
rm ~/.config/systemd/user/sova.service && systemctl --user daemon-reload
If Linux has no systemd user manager running (a container, say), the systemctl --user lines fail with “Failed to connect to bus”; the rm still removes the unit, which is all there is to remove.
On macOS:
launchctl bootout gui/$(id -u)/io.github.naomarik.sova
rm ~/Library/LaunchAgents/io.github.naomarik.sova.plist
Then remove the extension links (use your $PI_CODING_AGENT_DIR in place of ~/.pi/agent if you set one), Sova and the launcher:
find ~/.pi/agent/extensions -maxdepth 1 -lname "$HOME/.local/share/sova/*" -delete
rm -rf ~/.local/share/sova ~/.local/bin/sova
Then the app entry and the browser profile its window uses. On Linux:
rm -f ~/.local/share/applications/sova.desktop ~/.local/share/icons/hicolor/512x512/apps/sova.png
rm -rf ~/.config/sova-browser
On macOS:
rm -rf ~/Applications/Sova.app ~/Applications/Chrome\ Apps.localized/sova.app ~/Library/Application\ Support/sova-browser
With another browser, its launcher for the app is in the … Apps.localized folder named after it.
Your pi sessions and credentials, and Sova’s own state in ~/.pi/agent/sova/, stay. So do pnpm’s package store and cache, which other projects may share. If nothing else on the machine uses pnpm, you can remove them too (on Linux):
rm -rf ~/.local/share/pnpm ~/.cache/pnpm ~/.local/state/pnpm
Claude Code models
Sova always offers the models of the Claude Code CLI. They work once the claude CLI is installed and logged in. If it isn’t on your PATH, the installer says so.