Skip to main content
This feature is in public preview.
  1. Install the Pinecone CLI:
    # Using Homebrew (https://brew.sh) brew tap pinecone-io/tap brew install pinecone-io/tap/pinecone 
  2. Authenticate the CLI with Pinecone by user login:
    # Authenticate in a web browser pc auth login 
    To authenticate with Pinecone, visit the URL displayed in the terminal. After you sign in, the terminal displays a success message:
    [SUCCESS] Logged in as user@example.com. Defaulted to organization ID: <ORGANIZATION_ID>  [INFO] Target org set to <ORGANIZATION_NAME> [INFO] Target project set to <PROJECT_NAME> 
    As shown by the [INFO] messages, this command automatically sets a target organization and project for the CLI.
  3. If necessary, target a different organization and/or project:
    pc auth target -o "my-org-name" -p "my-project-name" 
  4. List the indexes in the project:
    pc index list 

Next steps

See the command reference to learn about the various commands offered by the CLI.