https://github.com/sgaunet/pplx
Unofficial perplexity.ai CLI
https://github.com/sgaunet/pplx
ai cli command darwin ia linux perplexity pplx
Last synced: 3 months ago
JSON representation
Unofficial perplexity.ai CLI
- Host: GitHub
- URL: https://github.com/sgaunet/pplx
- Owner: sgaunet
- License: mit
- Created: 2025-01-16T20:00:48.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-07-01T20:13:19.000Z (3 months ago)
- Last Synced: 2025-07-01T21:24:48.280Z (3 months ago)
- Topics: ai, cli, command, darwin, ia, linux, perplexity, pplx
- Language: Go
- Homepage:
- Size: 410 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pplx
[](https://github.com/sgaunet/pplx/releases/latest)
[](https://goreportcard.com/report/github.com/sgaunet/pplx)

[](https://github.com/sgaunet/pplx/actions/workflows/snapshot.yml)
[](https://github.com/sgaunet/pplx/actions/workflows/release.yml)
[](https://godoc.org/github.com/sgaunet/pplx)
[](LICENSE)It's an unofficial CLI program to query/chat with the [perplexity API](https://www.perplexity.ai/).
## Installation
## Option 1
* Download the latest release from the [releases page](https://github.com/sgaunet/pplx/releases).
* Install the binary in /usr/local/bin or any other directory in your PATH.## Option 2: With brew
```sh
brew tap sgaunet/homebrew-tools
brew install sgaunet/tools/pplx
```## Usage
```sh
Program to interact with the Perplexity API.You can use it to chat with the AI or to query it.
Usage:
pplx [command]Available Commands:
chat chat subcommand is an interactive chat with the Perplexity API
help Help about any command
query
version print version of pplxFlags:
-h, --help help for pplxUse "pplx [command] --help" for more information about a command.
```## Chat
Chat with the Perplexity API.
```sh
pplx chat
```## Query
Query the Perplexity API.
```sh
pplx query -p "what are the best citations of Jean Marc Jancovici ?" -s "you're a politician"
```The above command will return in console a result that looks like:
