1. EasyHost
  2. CLI reference
  3. login

ezhst login

Log in and save your token.

Last updated November 9, 2026

Usage

ezhst login --email <email> --password <password>

The token is saved in ~/.easyhost/config.json. In CI, set EZHST_TOKEN instead.

In scripts and agents

Add --json to read the result from stdout. Progress goes to stderr. On failure the process exits with code 1 and prints {"error": "..."}. Without a TTY the CLI never prompts, so pass every value as a flag.

npx ezhst login --email --json

Start for free

Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.

npx ezhst skill install