With Terminal AI you can generate content (text, images and audio), ask questions, chat and run complex workflows straight from your terminal.
- Node.js installed in the system
- OpenAI API keys
Start by copying config.example.js to config.js
cp config.example.js config.jsNext you need to add your OpenAI API key to config.js.
Then install dependencies:
npm installRun npm install -g from the terminal-ai root directory. This makes the ai command available anywhere.
$ ai --help for a full list of commands and how to use them
- ask - Ask the LLM a question
- chat - Chat with an LLM
- imagine - Create and edit images
- speak - Generate speech from text
- generate - Generate files from your instructions
- transcribe - Transcribe an audio file
- summarize - Summarize the contents of a file
I hope you find this tool beneficial to your day to day work.
