CLI sign-in with a code, and deploys that follow the build
Run every Easel CLI command with npx easel-sh@latest, so you always get the latest version without installing anything:
Sign in with a code
login prints a one-time code and opens your browser. Check that the code matches the one in your terminal and click Sign in to the CLI. Nothing secret appears in a URL. One sign-in covers every workspace you're in; pick a default in the terminal, or pass --workspace to any command. It renews itself while you use it, and Settings → Access Tokens lists your CLI sign-ins so you can sign one out. deploy and link start the same sign-in when you're signed out. In CI, keep using EASEL_TOKEN.
Deploys follow the build
npx easel-sh@latest deploy now waits for the build, streams its log, and ends with ✓ Live and the deployment URL. A failed build exits with code 1. Pass --no-wait to return as soon as the deployment is queued.
In a terminal, progress goes to stderr and only the URL goes to stdout. Scripts get JSON with the URL in url, and now wait for the build too: add --no-wait to a script that should return once the deployment is queued.
See Easel CLI and Deploy from the CLI.