cargo install --git https://github.com/misssonder/chatgpt-cli
Get API key from https://platform.openai.com/account/api-keys
ChatGPT command line that support multiple prompts
Usage: chatgpt [OPTIONS] --api-key <API_KEY>
Options:
-a, --api-key <API_KEY> Api key of the openai support
-p, --prompt Customize the prompt
-m, --model <MODEL> Set the chatGPT model, default value is 'gpt-3.5-turbo'
-h, --help Print help
-V, --version Print version
- Default
- LinuxTerminal
- Translator
- Interviewer
- JavaScriptConsole
- ExcelSheet
- EnglishPronunciation
- EnglishTeacher
- TravelGuide
you can click awesome-chatgpt-prompts to know more about chatGPT system prompt.