1.0.2 • Published 1 year ago

shellgpt v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

shellgpt

Generate shell commands with natural language using OpenAI.

shellgpt

Usage

npx shellgpt

# or
npm i shellgpt -g
# then
shellgpt

Requirement

  1. Set your openai API key to env variable.
export OPENAI_API_KEY={your-key}
  1. For people in certain regions, it may be necessary to use a proxy to access OpenAI. In that case, you need to set the https_proxy environment variable as well.
export https_proxy={your-proxy-url}

Get your OpenAI API key

  1. Sign in to https://platform.openai.com/account/api-keys
  2. Click on the "Create new secret key" button.
  3. Your API key will be displayed on the screen. Copy it and keep it in a secure place.
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago