The solanum command
solanum runs Solanum's server from a terminal: it starts one, pairs with it, keeps it running in the background, puts it on Solanum Relay, and looks into it when something's wrong. This page lists each command and what it takes.
Get the command
On a machine set up with Solanum's install script, solanum is linked in ~/.local/bin:
curl -fsSL https://getsolanum.com/install.sh | shOn a computer with the desktop app, open Settings › General and turn on Command line. That solanum works on the app's own data, except solanum relay, which works on the server's. It isn't offered when the app runs from an AppImage.
solanum --version prints the version.
Name the data folder
A server keeps everything in one data folder. Commands work on ~/.solanum/environment unless you name another, with --data-dir <folder> after the command, or SOLANUM_DATA_DIR. solanum relay reads only --data-dir, or else the background service's folder.
solanum serve
Runs the server in the terminal until you stop it. It prints the server's address, a pairing code, a pairing link and the link as a QR code.
solanum serve --host 0.0.0.0- --port <n>
The port to listen on. Without it, the first free port from 7373 up.
- --host <address>
The address to listen on. Without it, only this computer reaches the server.
0.0.0.0listens on your network.- --tailscale
Also serves it over HTTPS on your tailnet, through Tailscale Serve.
- --tailscale-port <n>
The HTTPS port on the tailnet. 443 unless set.
- --json
Prints one line of JSON, with the server's addresses and pairing code, in place of the text.
- --data-dir <folder>
The data folder.
A data folder holds one server. If one already runs on it, serve says so and stops.
solanum pair
Prints a new pairing code for the server that runs on the data folder, with its link and QR code. A code works once, within 5 minutes.
- --label <text>
A note kept with the code, shown by
solanum pairing list.- --json
Prints the code as JSON.
- --data-dir <folder>
The data folder.
solanum pairing
Manages codes that haven't been used yet.
- solanum pairing list
Lists the codes waiting to be used, each with its id, when it ends and its label.
- solanum pairing revoke <id>
Ends a code, so nobody can pair with it.
- solanum pairing create
Makes a code and prints it as JSON, without checking that a server runs.
Each takes --data-dir <folder>.
solanum service
Keeps the server running in the background, on Linux and macOS. It starts again when it stops and when you log in.
solanum service install- solanum service install
Installs the service and starts it. It then prints the server's address and where its log is.
- solanum service status
Says whether it's installed and running, on which version and port.
- solanum service restart
Stops it and starts it again. Agents running on it stop.
- solanum service uninstall
Removes the service.
install takes these:
- --port <n>
The port to listen on. 7373 unless set.
- --host <address>
The address to listen on. Without it, the service answers on the machine's own networks, its LAN and tailnet, and nowhere else.
- --lasting
Fails, and installs nothing, if the service would stop when you log out or wouldn't start until you next log in.
On Linux the service stops when you log out unless lingering is on. install turns it on where it can, and prints the command to run where it can't: sudo loginctl enable-linger <you>.
solanum relay
Puts the server on Solanum Relay, which gives it an address your computers reach from anywhere. Relay is invite-only for now. On your own network or over Tailscale you don't need it.
- solanum relay join <link>
Joins with an invite link or a machine link. With an invite link it prints a page to open in a browser on any device, and asks for the code that page shows.
- solanum relay status
Says whether the server is on Relay, as whom, at which address, and whether it holds the hub key.
- solanum relay rename <name>
Changes the server's address. A name is lowercase letters, digits and hyphens.
- solanum relay hub-link <code>
Gives the server the hub key, with a code from Settings › Connections › Workspace sync › Link another computer on a computer that holds it. The server then syncs your workspaces through Relay.
- solanum relay leave
Takes the server off Relay. Its address stops working.
join takes these:
- --name <name>
The name the server joins as. The machine's hostname unless set.
- --restart
Restarts the background service without asking, so its address opens at once.
Each takes --data-dir <folder>.
solanum triage
Starts Claude Code or Codex in a folder with what it needs to find out why Solanum isn't working: Solanum's version, the system, where the data folder is, and the latest lines of each log. The agent tells you what's wrong and asks before it changes anything.
solanum triage codexName claude or codex to choose the agent. Without a name, triage uses the one that's installed, and asks when both are. It takes --data-dir <folder>.
When the desktop app won't open, run the app's own program with triage. On macOS:
/Applications/Solanum.app/Contents/MacOS/Solanum triagesolanum browser setup
On a Linux machine, prepares the system for the browser Solanum's server runs for agents: an AppArmor profile that lets Chrome make its sandbox, and the libraries and fonts the browser needs. It needs --data-dir <folder>. Run without root, it says what's missing and prints the command to run with sudo.