Skip to content

CLI Quick Setup

Kevin Jayne edited this page Apr 1, 2023 · 3 revisions

Prerequisites

  • Some familiarity with your system's CLI terminal
  • Golang installed and available on your system

Step-By-Step

1. Get an OpenAI API Key

2. Install Ponder

  • go install github.com/seemywingz/ponder

3. Set Environment Variables

  • In a CLI terminal, export your API Key
    • export OPENAI_API_KEY="REPLACE WITH YOUR API KEY"
    • Make sure to use your actual API key

4. Ponder Something Interesting

  • In the same terminal instance, give a prompt to ponder
    • ponder chat -p "something interesting"