Skip to content

bahimzabir/terminal_chatgpt_installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Terminal chatgbt installer for MacOS

Source Code Repo: https://github.com/bahimzabir/terminal_chatgpt_src

this shell scripte will downlaod and install a program that you can run in your zshell or bash command line. it support only macos MacOSx64 architecture.

Screen Shot 2023-04-08 at 4 27 39 AM

How to install

Just clone this code in your Desktop:

git clone https://github.com/bahimzabir/terminal_chatgbt_installer.git

then run the shell script:

chmod 777 gptinstall.sh && ./gptinstall.sh

then close your terminal, and open a new one. make sure you are using zshell or bash, otherwise the program will not work .

Run The Program (important)

Please Read Carefully this section

to say "Hi" to chatgpt you can use the following command

chatgpt "Hi"

if you need to update the api key use:

chatgpt -k

please note that you may get an error and it will ask you for an api key, as the key provided with the program may be expired:

Please go to https://platform.openai.com/account/api-keys and click Create new secret key
then past your openAI api key here:
>>

read the following section to learn how to get an api key.

How to get an API Key

  1. login to your openAI account from here: https://platform.openai.com/account/api-keys
  2. make sure you still have cedits on your account from here: https://platform.openai.com/account/usage (if your credits are expired please create a new open ai account with a new phone number or buy more credits)
  3. if everything is okay go to : https://platform.openai.com/account/api-keys and click "Create new secret key" and copy the key.
  4. past the key the the chatgpt program.

Now you can ask chatgpt and it will work.

About

ChatGPT TERMINAL EMULATOR FOR MAC-OS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages