diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-05-04 20:35:20 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-05-04 20:35:45 -0500 |
commit | bbf10c3c00a5356451227e48780d1d5fd4458c5b (patch) | |
tree | f68041ed8e823989d21b42606bee8bb9bdf8c695 | |
parent | b8bc493d2a682ccea755855fdec5b01ad3eb85f9 (diff) | |
download | gpt-chat-cli-bbf10c3c00a5356451227e48780d1d5fd4458c5b.tar.xz gpt-chat-cli-bbf10c3c00a5356451227e48780d1d5fd4458c5b.zip |
Add install instructions
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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: ``` |