What is the CLI?
directify is the official command-line tool. It wraps the Directify REST API so you can manage your directory from your terminal, shell scripts, or CI pipelines — no AI required. It’s ideal for power users and automation.
Install
Requires Node.js 18+.npx:
Connect
1
Get your API token
In your Directify dashboard, go to Settings → API and click the Key icon to generate a token.
2
Authenticate
3
Set a default directory
Start managing
--help, and most accept -d, --directory <id> to target a specific directory (overriding the default) and --json for machine-readable output.
Common command groups
Run
directify --help (or directify <group> --help) to see every command and option.
Want to manage your directory by chatting with an AI assistant instead? See the MCP Server guide.
