chat-gpt is a command line interface for OpenAI
npm -g install @mkanenobu/chatgpt-cli
- Set API Key to
~/.config/chatgpt-cli/config.json
- Run
chatgpt-cli
Config example
{
"api_key": "...",
"speak": false // default is true
}
Dev
npm run dev
Build
npm run build
Publish
npm publish --access public