简体中文 | English
pip install cmdgpt
Error: command not found: cmdgpt
Please add the following content to your /.bashrc
or /.zshrc
file:
export PATH=$PATH:~/.local/bin
Then run source ~/.bashrc
or source ~/.zshrc
to reload the file.
Set OpenAI api-key:
cmdgpt --key "sk-xxx……xxx"
Describe your opeartion
cmdgpt "Create a folder named 'www' with an 'index.html' file inside."
Chat Mode
cmdgpt --chat
Set api-url
cmdgpt --url "你的api-url"
Know Issue
- Unable to use commands such as
cd
andsource
. - CMDGPT on Windows only supports providing commands, it cannot execute them.