Zev helps you remember (or discover) terminal commands using natural language.
pip install zev
- Note: This project runs on top of LLM APIs like OpenAI, Google's Gemini, or Ollama.
zev
zev '<what you want to do>'
# Find running processes
zev 'show all running python processes'
# File operations
zev 'find all .py files modified in the last 24 hours'
# System information
zev 'show disk usage for current directory'
# Network commands
zev 'check if google.com is reachable'
# Git operations
zev 'show uncommitted changes in git'
- OpenAI
- Google Gemini
- Ollama
You can update your API keys and provider settings by running:
zev --setup
To use OpenAI, you need an OpenAI account and a subscription. You can create an API key on this page.
To use Google's Gemini models, you need a Google AI Studio account. You can create a Gemini API key in Google AI Studio.
You can use Zev with Ollama as an alternative to hosted providers, which lets you run all commands locally. To set this up:
-
Install and start Ollama with a model of your choice
-
Run
zev --setup
and put in the proper settings. For example:
? Pick your LLM provider: Ollama
? Enter the Ollama URL: http://localhost:11434/v1
? Enter the model to use (e.g. llama3.2): llama3.2
Note that to switch backends, you can re-run zev --setup
again at any time.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.