Skip to main content
This guide outlines how to run projects on a machine that stays on, such as a lab server or a cluster login node. An environment is such a machine. It runs lilac worker, which dials out to the Lilac server, so it needs no open port.
1

Start a worker on the remote machine

lilac login shows a code to approve in the browser. Keep lilac worker running, in tmux or as a long batch job. New projects go in ~/lilac-projects, which --projects-root changes. For a container, mint a token on the website and pass --token-file <path>, or set LILAC_TOKEN_FILE.
2

List environments from your laptop

3

Connect to a project

connect runs until Ctrl+C. Agents run on the remote machine and keep working when you disconnect.
An SSH tunnel also works. Run one core under a supervisor on the remote machine and forward its port.
For every command, see the CLI reference.