Install
- macOS and Linux
- Windows
- npm
/usr/local/bin, pick a directory you can write to with NTN_INSTALL_DIR:PATH, the installer prints the line to add to your shell startup file.To inspect the installer before you run it, view the install script.ntn is on your PATH.
Verify installation
ntn --version prints a version, run ntn login to connect your workspace. For scripts and CI, set NOTION_API_TOKEN to a personal access token.
Update
If you used the install script, run:Shell completions
ntn completions <shell> prints a completion script to stdout. It supports bash, zsh, fish, powershell, and elvish.
To load completions in bash, add this line to ~/.bashrc:
~/.zshrc after compinit runs:
ntn completions fish, ntn completions powershell, or ntn completions elvish. Load its output the way your shell loads other completion scripts.
Next steps
Authentication
Log in to your Notion workspace.
Workers quickstart
Create and deploy your first Notion Worker.