ChatGPT CLI with NodeJS
Dependencies:
NodeJS (node can be installed with NVM this must be done before continuing any further)
openai ( Use NPM to install openai)
dotenv (Use NPM)
Open up a new folder for development, I called mine gpt-cli
In your folder Run npm init -...
diegocode.hashnode.dev5 min read