Install
The published package isnylio-cli and the executable is nylio.
Requirements
- Node.js
>=22 - A browser for the default login flow, unless you use
--print-url
Default behavior
- Production API base URL defaults to
https://api.nylio.app - Tokens are stored at
~/.config/nylio/auth.json - Login listens on
http://127.0.0.1:39123/callback
What the CLI can do
- Start and refresh OAuth sessions
- List accessible workspaces
- List, fetch, and create documents
- Apply a single string replacement to a personal document you own
- Replace a personal document body with full enhanced markdown
- Export documents to markdown, PDF, or DOCX
- Search documents
Common commands
Output modes
- Default output is compact plain text tuned for terminal and agent use
- Add
--jsonfor machine-readable JSON in scripts - Add
--api-base-url <url>to target a non-default environment