um
is a GPT-powered CLI assistant. Ask questions in plain English, get the perfect shell command.
um
can index your history to find commands you've run beforeum
instantly learns from your correctionsum recipe
helps you provision infrastructure (currently terraform only, more coming soon)um
: suggests next actions based on usage patternscurl -fsSL -o ubuntu-installer.sh https://raw.githubusercontent.com/promptops/cli/main/ubuntu-installer.sh
chmod 700 ubuntu-installer.sh
./ubuntu-installer.sh
brew install promptops/promptops/promptops-cli
Make sure you have python 3.10 or more recent python.org downloads
pip3 install promptops
eval "$(um --install)"
Note: currently works only with Zsh
Add the widget and the key binding to your .zshrc
file
cp ~/.zshrc ~/.zshrc.backup
echo 'eval "$(promptops lookup --config)"' >> ~/.zshrc
Reload
source ~/.zshrc
Remove the eval line from your .zshrc
file and reload.
Suggest next actions based on usage patterns
um
Query for command
um <question>
Create or reuse templates to provision infrastructure (currently terraform only, more coming soon)
um recipe <multi-stepped-prompt>
Add file or website to the index
um index --source <file-or-url>
promptops runner
um list contents of tar file
um upload file to s3
Semantic search in history
Provide more context flow
Index website
create virtual env
python3.10 -m venv ./venv
. ./venv/bin/activate
install dependencies
pip install -r requirements.txt
install the cli
make install
test with
um get pods
make publish