It's an unofficial CLI program to query/chat with the perplexity API.
- Download the latest release from the releases page.
- Install the binary in /usr/local/bin or any other directory in your PATH.
brew tap sgaunet/homebrew-tools
brew install sgaunet/tools/pplx
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 pplx
Flags:
-h, --help help for pplx
Use "pplx [command] --help" for more information about a command.
Chat with the Perplexity API.
pplx chat
Query the Perplexity API.
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: