Skip to content

xbunax/chatgpt_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

chatgpt_shell实现命令行与chatgpt聊天

Mac和Linux端用shell调用chatgpt的api实现终端聊天,需要openai_api_key加入到环境变量,并且安装jq(brew install jq),然后chmod +x ./chat.sh,最后运行即可。

Windows端在设置,系统信息,高级系统设置中设置OPENAI_API_KEY环境变量,并且安装jq,同样将安装目录添加到环境变量中,最后重启电脑,安装git,在git bash中运行shell脚本。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages