Skip to content

Commit 6c9d417

Browse files
committed
Add instruction to upgrade the CLI
1 parent caf1af5 commit 6c9d417

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.agents/PINECONE-cli.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,22 @@ pc index create -n my-app-prod -m cosine -c aws -r us-east-1 \
180180

181181
## CLI Troubleshooting
182182

183+
> **⚠️ For agents**: If a CLI command is not recognized or returns an "Unknown command" error:
184+
>
185+
> 1. First check the CLI version with `pc version`
186+
> 2. Compare with the latest version from [GitHub Releases](https://github.com/pinecone-io/cli/releases)
187+
> 3. If outdated, ask the user to update: `brew update && brew upgrade pinecone` (macOS) or download the latest release
188+
> 4. Verify the command syntax matches the current CLI version documentation
189+
183190
### Common Issues
184191

185-
| Issue | Solution |
186-
| ----------------------- | -------------------------------------------------------------------------------- |
187-
| `pc: command not found` | Install CLI: `brew tap pinecone-io/tap && brew install pinecone-io/tap/pinecone` |
188-
| `Authentication failed` | Run `pc auth login` or set an API key or service account |
189-
| `Index already exists` | Use different name or delete existing: `pc index delete --name <name>` |
190-
| `Permission denied` | Check API key permissions or organization access |
192+
| Issue | Solution |
193+
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
194+
| `pc: command not found` | Install CLI: `brew tap pinecone-io/tap && brew install pinecone-io/tap/pinecone` |
195+
| `Unknown command` or unrecognized command | Check CLI version with `pc version`. If outdated, update: `brew update && brew upgrade pinecone` (macOS) or download latest from [GitHub Releases](https://github.com/pinecone-io/cli/releases) |
196+
| `Authentication failed` | Run `pc auth login` or set an API key or service account |
197+
| `Index already exists` | Use different name or delete existing: `pc index delete --name <name>` |
198+
| `Permission denied` | Check API key permissions or organization access |
191199

192200
### Verification Commands
193201

0 commit comments

Comments
 (0)