boxd connect mybox, or use the console terminal. A machine created before automations shipped has no run command, so create a fresh machine if yours is that old.
Connect and discover
run auth prints a link. Approve it in your browser and the CLI notices on its own. See Connections for personal versus shared connections.
Call a tool
Your first automation
hello.run.ts into what you want and re-run the file. Re-running replaces the job in place.