Install & sign in
horsie is a client for a horsie server. It runs the machine it is on as a
runtime source, and inspects sessions, agents, routines and workflows from a
terminal.
It is not the server, and it is not required to use one — a browser is enough
for everything except horsie connect.
Install
Section titled “Install”curl -fsSL https://get.horsie.dev | shThat installs a single binary for your OS and architecture, plus its sandboxed
horsie-runtime child.
From source instead:
make build-climake install-cliSign in
Section titled “Sign in”horsie auth login --server https://horsie.example.comTo authorize this machine, open:
https://horsie.example.com/auth/device?code=PXL8-7TL7
and confirm the code: PXL8-7TL7Open the link, check the code matches what your terminal printed, and approve.
Credentials land in ~/.config/horsie/credentials.json, readable only by you,
and refresh themselves as they age.
horsie auth status lists the servers this machine has credentials for.
horsie auth logout --server <url> forgets one; omitting --server forgets
all of them, revoking server-side where reachable.
For a script or a CI job, set HORSIE_TOKEN to a machine token instead of
logging in — see Authentication. To store a token
without the browser flow, horsie auth login --token <token>.
The default server
Section titled “The default server”The first server you log in to becomes your default. From then on every
command that talks to a server — horsie session, horsie agent,
horsie workflow, horsie routines, horsie connect, horsie auth login —
works without --server.
A later login never moves the default on its own. Pass --default to move it,
or manage it directly:
horsie config set default-server https://horsie.example.comhorsie config get default-serverhorsie config unset default-serverWith no default configured, commands fall back to https://auth.horsie.dev.
- Running horsie connect — make this machine a runtime.
- Command reference — every command and flag.