From bbf10c3c00a5356451227e48780d1d5fd4458c5b Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Thu, 4 May 2023 20:35:20 -0500 Subject: Add install instructions --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 72d7986..b5c60f6 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,17 @@ gpt-chat-cli A simple ChatGPT CLI. +### Installation: + +``` +pip install gpt-chat-cli +``` + +The OpenAI API uses API keys for authentication. Visit your (API Keys page)[https://platform.openai.com/account/api-keys] to retrieve the API key you'll use in your requests. Then, source the `OPENAI_API_KEY` environmental variable in your shell's configuration file. (That is, `~/.bashrc` or `~/.zshrc` for the Bash or Zsh shell, respectively.) +``` +export OPENAI_API_KEY="INSERT_SECRET_KEY" +``` + ### Examples: ``` -- cgit v1.2.3