Skip to content

abdelilah/chatgpt-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatgpt-cli

chatgpt-cli is a quick way to run ChatGPT inside your terminal. The tool can also be used to automate prompts in ways that can't be done in the browser!

Prerequisites

Please note that the ChatGPT API is paid and you need to set up billing in your account before you can use this tool. You can find more information about the API and pricing on OpenAI's pricing page. You also need to have NodeJS installed on your machine.

Installation

npm install -g chatgpt-api-cli

Configuration

The first time you run the command, you will be prompted to enter your API key. You can create an API key in the API Keys section of your OpenAI account.

Usage

Running the tool is as simple as:

chatgpt

You can also pass in a prompt to the tool:

chatgpt "Hello, my name is"

Issues / Feature Requests

Please use the issue tracker if you have any issues or feature requests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published