CLI
The official nfyio command-line tool — authenticate via your browser, then manage object storage, databases and auth projects from the terminal.
nfyio CLI — @nfyio/cli
Authenticate once, then manage your nfyio resources from the terminal.
Install
npm install -g @nfyio/cli
Authenticate
nfyio auth login
This opens your browser to an authorize page. Click Authorize and you’re done —
the CLI starts a one-shot local server, the dashboard mints a token and sends it
straight back (no copy/paste). Credentials are stored in your OS config directory
(~/.config/nfyio/config.json, mode 600).
If a browser isn’t available (headless/SSH), it falls back to opening
Settings → Access Tokens so you can paste a token instead. Use --no-browser
to force the paste flow.
Non-interactive / CI:
nfyio auth login --token "$NFYIO_TOKEN"
export NFYIO_TOKEN=... # overrides the stored login entirely
nfyio auth whoami # show the signed-in account
nfyio auth logout # remove stored credentials
Manage resources
nfyio bucket list # object-storage buckets
nfyio database list # databases
nfyio auth-project list # auth projects
Object upload / download
For bulk object I/O use the dedicated, S3-compatible storage tool:
npm install -g @nfyio/storage
export NFYIO_ACCESS_KEY=... NFYIO_SECRET_KEY=...
nfyio-storage cp ./report.pdf nfyio://my-bucket/reports/report.pdf
nfyio-storage ls my-bucket
Configuration
| Env | Purpose |
|---|---|
NFYIO_TOKEN | Access token (overrides the stored login). |
NFYIO_API_BASE | API base URL (default https://app.nfyio.com). |
NFYIO_CONFIG_DIR | Where credentials are stored. |