Skip to content

jacquesadit/shell-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shellm

Natural language to shell command CLI tool for Linux developers.

Installation

pip install shellm

Setup

Set your OpenAI API key:

export OPENAI_API_KEY='your-api-key-here'

Usage

shellm "describe what you want to do"

Examples

shellm "list all python files"
# Output: find . -name "*.py"

shellm "find files larger than 100MB"
# Output: find . -size +100M

shellm "show disk usage for current directory"
# Output: du -sh .

shellm "count lines of code in python files"
# Output: find . -name "*.py" -exec wc -l {} + | tail -1

Requirements

  • Python 3.8+
  • OpenAI API key
  • Linux environment

License

MIT

About

Shell LLM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages