diff --git a/plugins/catalog.json b/plugins/catalog.json index 65ba5079f..cd69f458b 100644 --- a/plugins/catalog.json +++ b/plugins/catalog.json @@ -1,6 +1,6 @@ { "version": 1, - "generated_at": "2026-07-21T00:50:41.717Z", + "generated_at": "2026-08-06T09:09:00.123Z", "count": 10163, "plugins": [ { @@ -25233,7 +25233,7 @@ }, { "name": "notion-cli", - "checksum": "92bb1f65b65e4baf" + "checksum": "8c346fb660a44194" }, { "name": "nougat", diff --git a/plugins/notion-cli/install-guidance.json b/plugins/notion-cli/install-guidance.json index 92ed54659..c9f99c670 100644 --- a/plugins/notion-cli/install-guidance.json +++ b/plugins/notion-cli/install-guidance.json @@ -3,11 +3,12 @@ "binary": "notion", "check": "which notion", "install_steps": [ - "brew install 4ier/tap/notion-cli", + "go install github.com/4ier/notion-cli@latest", + "GOBIN=$(go env GOBIN); GOPATH=$(go env GOPATH); ln -sf \"${GOBIN:-$GOPATH/bin}/notion-cli\" \"${GOBIN:-$GOPATH/bin}/notion\"", "Verify: notion --version", "Authenticate: echo 'ntn_xxxxx' | notion auth login --with-token", "Alternative auth: export NOTION_TOKEN=ntn_xxxxx", "supercli plugins install ./plugins/notion-cli --on-conflict replace --json" ], - "note": "Also available as Go binary from GitHub Releases: https://github.com/4ier/notion-cli/releases. npm: npm install -g @4ier/notion-cli. Token stored in ~/.config/notion-cli/config.json (mode 0600). Auto-detects JSON output when piped to another command." + "note": "Primary install is go install github.com/4ier/notion-cli@latest, which builds a binary named notion-cli. Link or rename it to notion before the Verify step. Also available via Homebrew (brew install 4ier/tap/notion-cli), npm (npm install -g @4ier/notion-cli), GitHub Releases (https://github.com/4ier/notion-cli/releases), or Scoop on Windows. Token stored in ~/.config/notion-cli/config.json (mode 0600). Auto-detects JSON output when piped to another command." } diff --git a/plugins/notion-cli/plugin.json b/plugins/notion-cli/plugin.json index 4f355bbad..b74e39da1 100644 --- a/plugins/notion-cli/plugin.json +++ b/plugins/notion-cli/plugin.json @@ -11,7 +11,8 @@ "binary": "notion", "check": "which notion", "install_steps": [ - "brew install 4ier/tap/notion-cli", + "go install github.com/4ier/notion-cli@latest", + "GOBIN=$(go env GOBIN); GOPATH=$(go env GOPATH); ln -sf \"${GOBIN:-$GOPATH/bin}/notion-cli\" \"${GOBIN:-$GOPATH/bin}/notion\"", "Verify: notion --version", "Authenticate: echo 'ntn_xxxxx' | notion auth login --with-token", "supercli plugins install ./plugins/notion-cli --on-conflict replace --json" @@ -30,7 +31,7 @@ "adapterConfig": { "command": "notion", "baseArgs": ["--version"], - "missingDependencyHelp": "Install notion-cli: brew install 4ier/tap/notion-cli" + "missingDependencyHelp": "Install notion-cli: go install github.com/4ier/notion-cli@latest (the binary will be named notion-cli; symlink or rename it to notion) or brew install 4ier/tap/notion-cli" }, "args": [] }, @@ -230,7 +231,7 @@ "adapterConfig": { "command": "notion", "passthrough": true, - "missingDependencyHelp": "Install notion-cli: brew install 4ier/tap/notion-cli. Authenticate: echo 'ntn_xxxx' | notion auth login --with-token" + "missingDependencyHelp": "Install notion-cli: go install github.com/4ier/notion-cli@latest (the binary will be named notion-cli; symlink or rename it to notion) or brew install 4ier/tap/notion-cli. Authenticate: echo 'ntn_xxxx' | notion auth login --with-token" }, "args": [] } diff --git a/plugins/notion-cli/skills/quickstart/SKILL.md b/plugins/notion-cli/skills/quickstart/SKILL.md index 7c2db61d8..1480f3dce 100644 --- a/plugins/notion-cli/skills/quickstart/SKILL.md +++ b/plugins/notion-cli/skills/quickstart/SKILL.md @@ -58,11 +58,26 @@ export NOTION_TOKEN=ntn_xxxxx ## Installation +The recommended install is with `go install`. The resulting binary is named `notion-cli`, so symlink or rename it to `notion` before running any commands: + +```bash +go install github.com/4ier/notion-cli@latest +GOBIN=$(go env GOBIN); GOPATH=$(go env GOPATH); ln -sf "${GOBIN:-$GOPATH/bin}/notion-cli" "${GOBIN:-$GOPATH/bin}/notion" +``` + +Or install with Homebrew: + ```bash brew install 4ier/tap/notion-cli ``` -Or download binary from [GitHub Releases](https://github.com/4ier/notion-cli/releases). +Or install with npm: + +```bash +npm install -g @4ier/notion-cli +``` + +Or download a binary from [GitHub Releases](https://github.com/4ier/notion-cli/releases). ## Key Features - **Agent-friendly**: JSON output auto-detected when piped, schema-aware, URL or ID support