Skip to content

The coderail command ​

The bridge is the coderail command, in ~/.coderail/bin. The Mac app runs it for you; on Linux you use it directly.

CommandWhat it does
coderail link <https://your-site> [--name <name>] [--no-service]Links this computer: prints a code and a link to approve it, then installs the background service. --name sets the name shown on the site (default: the hostname). --no-service runs in the foreground instead.
coderail statusShows the site it's linked to, the computer's name, and whether the service is running. --json for scripts.
coderail logsFollows the bridge's log.
coderail service install / restartInstalls or restarts the background service.
coderail service uninstallStops and removes the service (the link is kept).
coderail unlinkStops the service and forgets the link. Remove the computer on the site too.
coderail runRuns the bridge in the foreground (what the service runs).
coderail versionThe version and build, like 0.0.1+42.

The service ​

macOSLinux
Kindlaunchd agent codes.coderail.bridgesystemd user unit coderail.service
File~/Library/LaunchAgents/codes.coderail.bridge.plist~/.config/systemd/user/coderail.service
Startswhen you log inwhen you log in (or at boot, with loginctl enable-linger)

The service runs as you, never as root, with your login shell's environment, so the agents and tools work the way they do in your terminal.

See Files on a computer for what's in ~/.coderail.

Apache License 2.0 · Built by Wiva