Authenticate with NotebookLM by launching Chrome and extracting session cookies.
nlm login
nlm login --check
nlm login --profile <name>Requirements:
- Google Chrome must be installed
- Requires user interaction in browser
Check if current session is valid.
nlm auth statusList all authenticated profiles.
nlm auth listDelete a specific profile.
nlm auth delete <profile> --confirmList all notebooks.
nlm notebook list
nlm notebook list --json
nlm notebook list --quiet
nlm notebook list --title
nlm notebook list --fullCreate a new notebook.
nlm notebook create "Notebook Title"Get notebook details.
nlm notebook get <notebook-id>Get AI-generated summary of notebook.
nlm notebook describe <notebook-id>Chat with sources in notebook (one-shot question).
nlm notebook query <notebook-id> "Your question here"Delete a notebook.
nlm notebook delete <notebook-id> --confirmList sources in a notebook.
nlm source list <notebook-id>
nlm source list <notebook-id> --drive
nlm source list <notebook-id> --drive -SAdd a source to a notebook.
nlm source add <notebook-id> --url "https://example.com/article"
nlm source add <notebook-id> --url "https://youtube.com/watch?v=..."
nlm source add <notebook-id> --text "Your content here" --title "Source Title"
nlm source add <notebook-id> --drive <document-id>Get AI summary of a source.
nlm source describe <source-id>Get raw text content of a source.
nlm source content <source-id>List outdated Google Drive sources.
nlm source stale <notebook-id>Sync Google Drive sources.
nlm source sync <notebook-id> --confirmAll content generation commands require --confirm or -y flag.
Generate audio overview (podcast).
nlm audio create <notebook-id> --confirmGenerate briefing doc or study guide.
nlm report create <notebook-id> --confirmGenerate quiz questions.
nlm quiz create <notebook-id> --confirmGenerate flashcards.
nlm flashcards create <notebook-id> --confirmGenerate mind map.
nlm mindmap create <notebook-id> --confirmGenerate slide deck.
nlm slides create <notebook-id> --confirmGenerate infographic.
nlm infographic create <notebook-id> --confirmGenerate video overview.
nlm video create <notebook-id> --confirmExtract data as table.
nlm data-table create <notebook-id> "description" --confirmList all generated artifacts in a notebook.
nlm studio status <notebook-id>Delete a generated artifact.
nlm studio delete <notebook-id> <artifact-id> --confirmStart interactive REPL session.
nlm chat start <notebook-id>REPL Commands:
/sources- Show sources/clear- Clear conversation/help- Show help/exit- Exit session
Configure chat goal and response style.
nlm chat configure <notebook-id>Start research to discover and import sources.
nlm research start "search query" --notebook-id <id>
nlm research start "search query" --notebook-id <id> --mode deep
nlm research start "search query" --notebook-id <id> --source driveCheck research progress.
nlm research status <notebook-id>Import discovered sources from research.
nlm research import <notebook-id> <task-id>Create an alias for a UUID.
nlm alias set <alias-name> <uuid>List all aliases.
nlm alias listResolve an alias to its UUID.
nlm alias get <alias-name>Delete an alias.
nlm alias delete <alias-name>Show current configuration.
nlm config showGet a specific configuration value.
nlm config get <key>Update a configuration value.
nlm config set <key> <value>Output comprehensive documentation for AI assistants.
nlm --aiInstall shell tab completion.
nlm --install-completionShow completion script for manual installation.
nlm --show-completionnlm notebook listnlm notebook list --jsonnlm notebook list --quietnlm notebook list --titlenlm notebook list --fullnlm source list --urlMost commands support --profile flag:
nlm notebook list --profile <profile-name>
nlm audio create <id> --profile <profile-name> --confirm