Install on the server
Install Magnitude for macOS, Linux, or Windows. The package includes themagnitude CLI. Run the commands below on the server, using SSH if needed.
On macOS, if the command is not registered in your shell, use /Applications/Magnitude.app/Contents/Resources/magnitude in place of magnitude.
Configure network access
Edit~/.magnitude/config.json, or %USERPROFILE%\.magnitude\config.json on Windows. Create the directory and file if they do not exist. Add this network object, keeping any other settings:
SERVER_IP with the server’s local-network or Tailscale IP address. Replace YOUR_SECRET_KEY with a long, randomly generated secret. Use the same key on your laptop. Settings apply when Magnitude starts.
For Desktop Settings, other addresses, or an SSH tunnel that does not require Network access, see Network access.
Start Magnitude and download a model
Fully quit Magnitude Desktop if it is running, then start the server:magnitude catalog status to check preparation, then request recommendations again. Copy a model ID from the output and download it:
magnitude models load "MODEL_ID".
Connect from your laptop
Use these settings in your agent or app:
Use your agent’s configuration instructions, then check the connection from your laptop. Run model-management commands on the server.
Keep the server running
magnitude serve runs in the foreground. Ctrl+C stops it. An SSH terminal is not a persistent service; use a service manager to keep serving after disconnecting or restarting the machine.
Opening Magnitude Desktop stops the foreground server and takes over serving.
Linux: systemd
Create the user-service directory withmkdir -p ~/.config/systemd/user, then save this as ~/.config/systemd/user/magnitude-headless.service:
magnitude serve command you started manually, then enable the service:
loginctl enable-linger "$USER"; your system may require administrator authorization.
Use journalctl --user -u magnitude-headless.service for logs and
systemctl --user stop magnitude-headless.service to stop it. Restart=on-failure recovers from
a crash without restarting after a successful transfer to the desktop.