1.7.4 • Published 5 months ago

terminalgpt v1.7.4

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Screenshot 2023-01-05 at 09 24 10

Prerequisites

You'll need to have your own OpenAi apikey to operate this package.

  1. Go to https://platform.openai.com
  2. Select your profile menu and go to View API Keys
  3. Select + Create new secret key
  4. Copy generated key

Installation

Install terminalGPT globally:

npm -g install terminalgpt

or

yarn global add terminalgpt

Start chat

tgpt chat

PS: If it is your first time running it, it will ask for open AI key, paste generated key from pre-requisite steps.

Options

Change engine and temperature

tgpt chat --engine "gpt-4" --temperature 0.7

Note this library uses Chat Completions API. The engine parameter is the same as the model parameter in the API. The default value is gpt-3.5-turbo.

Use markdown

tgpt chat --markdown

Change or delete api key

It you are not satisfied or added a wrong api key, run

tgpt delete

Using with npx

npx terminalgpt
npx terminalgpt <command>

Note npx terminalgpt doesn't install the terminalgpt package, instead it downloads the package to your computer and directly executes it from the cache.

You can find the package using

ls ~/.npm/_npx/*/node_modules

To delete the package, you can use

rm -r ~/.npm/_npx/*/node_modules/terminalgpt

Contributing

Refer to CONTRIBUTING.md 😎

✨ Contributors

Stats

Alt

1.7.3

6 months ago

1.7.2

6 months ago

1.7.1

6 months ago

1.7.0

6 months ago

1.7.4

5 months ago

1.6.4

8 months ago

1.6.3

10 months ago

1.6.2

10 months ago

1.6.1

11 months ago

1.6.9

8 months ago

1.6.8

8 months ago

1.6.7

8 months ago

1.6.6

8 months ago

1.6.5

8 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.12

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago