chatgpt-api-cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i chatgpt-api-cli

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

13.3 kB

Total Files

6

Last publish

Collaborators

  • abdelilah