Download
Reference

Environment variables

Solanum reads a few settings from its environment, on your computer and on the machines it runs a server on. Most people never set one.

Set a variable

Set it where Solanum starts. For the desktop app, that is the environment the app is opened from. For a server you start yourself, set it on the command:

sh
SOLANUM_BROWSER_SANDBOX=0 solanum serve

A variable that names a program takes its path, or its name where it's on your PATH.

The variables

VariableWhat it does
SOLANUM_DATA_DIRThe data folder the solanum command works on: serve, pair, pairing and triage. --data-dir on the command comes first.
SOLANUM_TERMINAL_SHELLThe shell Solanum's terminals start, in place of the one it would choose.
SOLANUM_BROWSER_SANDBOXSet to 0 to run a server's browser without Chrome's sandbox, on a machine that doesn't allow unprivileged user namespaces.
SOLANUM_SSH_PROGRAMThe ssh Solanum reaches machines with. ssh unless set.
SOLANUM_WSL_PROGRAMThe wsl.exe Solanum starts its WSL backend with.
SOLANUM_TAILSCALE_PROGRAMThe tailscale Solanum asks for this computer's tailnet address and HTTPS.
SOLANUM_SERVER_RELEASESWhere Solanum's server is downloaded from when it's installed on a machine or updated there.
SOLANUM_SYSTEMCTL_PROGRAMThe systemctl that solanum service manages the background service with, on Linux.
SOLANUM_LOGINCTL_PROGRAMThe loginctl that solanum service install turns lingering on with, on Linux.
SOLANUM_LAUNCHCTL_PROGRAMThe launchctl that solanum service manages the background service with, on macOS.