DEV Community

Cover image for Master your Linux terminal with LazyShell
Oussama Bernou
Oussama Bernou

Posted on

Master your Linux terminal with LazyShell

Tired of copying and pasting commands? Meet LazyShell

As Linux user (Arch btw) sorry couldn't help it, i was fed up with googling/prompting the same terminal commands or digging through my shell history. Whether is a git workflow, config change, cybersecurity scan, i wanted a tool that could generate commands, explain them and run them right from the terminal. I couldn't find one so i built LazyShell and now you can benefit from it too.

Watch LazyShell in Action (GIF)

Why LazyShell?

  • Saves you time: generate complex commands like git rebase -i HEAD~3 with a single prompt
  • Learn as you go: every generated is provided with explanation.
  • Flexible: works for SysAdmins, developers developers developers, and cybersecurity experts, and powered by your AI provider of choice.

you can find it on github here: LazyShell

we just surpassed 20 ⭐ on Github 🚀

How to use

  1. install it using npm
npm install -g lazyshell
Enter fullscreen mode Exit fullscreen mode
  1. configure you ai provider
lsh config
Enter fullscreen mode Exit fullscreen mode

(choose from providers like OpenAI Google, openrouter...)

  1. start generating commands
lazyshell your prompt
//or
lsh your-prompt
Enter fullscreen mode Exit fullscreen mode

Who’s It For?

  • Linux Users: Automate file management or server tasks.
  • Developers: Simplify git, npm, or Docker commands.
  • Cybersecurity Pros: Craft precise nmap or Wireshark commands on the fly.

Get Involved

If you have any suggestions please leave comment or open an issue in the github repo. And if you used it don't forget to give it a ⭐ on Github.
Repo Link

Top comments (0)