Install genie CLI
Cross-machine context, OAuth-secured. v0.1.0.
curl -fsSL https://dev.genie.tech/install.sh | bashOne line. Picks up node ≥ 20, verifies this server is reachable, installs to ~/.genie/bin/, and writes a config file pointing at https://dev.genie.tech. Safe to re-run.
Then sign in
genie auth login --devicePrints a short code. Visit https://dev.genie.tech/oauth/device on any browser where you’re signed in, paste the code, click Allow.
Use genie auth login (no flag) if your terminal can open a local browser; the device flow above works everywhere: SSH boxes, headless servers, second laptops.
Then save + retrieve a context
genie context save "hello from $(hostname)"
genie context lsSave on machine A, list on machine B (after running this same installer on B). Your contexts roam with your account, not the machine.
Manual install (no curl)
If you don’t want to pipe to bash
- Read the script first: https://dev.genie.tech/install.sh
- Or download the tarball: https://dev.genie.tech/install/cli.tar.gz
tar -xzf genie-cli.tar.gz -C ~/.genie/bin/ - Symlink:
ln -sf ~/.genie/bin/genie ~/.local/bin/genie - Set api_base manually:
echo '{"api_base":"https://dev.genie.tech"}' > ~/.genie/config.json