DEV Community

Cover image for Mastering Terminal using Savvy' s AI
shantanu joshi
shantanu joshi

Posted on

Mastering Terminal using Savvy' s AI

Whether you are new to Terminal or an expert, Savvy's open source CLI can significantly improve your productivity at work. Here are 3 examples that you can run today with Savvy's CLI:

1. Go from Natural Language to Command Translation:

Example: If you're unsure how to monitor network traffic using tcpdump, simply ask:
savvy ask "How to monitor network traffic with tcpdump"

Savvy responds with the commands that can be directly run on your terminal

tcpdump

2. Explain any complicated shell command or understand any error message:

Example: Suppose you are trying to figure out how grep works with certain commands like below, savvy can explain:

savvy explain "grep 'error' logfile.txt | awk '{print $0}'"

Savvy will explain each step of the command and if needed, offer troubleshooting steps

savvy explain

3. Run a publicly available runbook to debug issues:

Example: Let's say you are figuring out how to diagnose and resolve PID Pressure Issues in Kubernetes, you can run this entire runbook using its runbook id or skip steps that you do not want to run:

savvy run rb_615fe9d2a50d663c

A sample list of steps in the runbook:

Kubernetes runbook

Finally, Savvy CLI not only automates the mundane tasks but also empowers you to build a personal and team knowledge base directly from your daily activities in the terminal. Whether you’re troubleshooting, setting up environments, or training teammates, Savvy turns your command-line prowess into a documented and shareable assets.

You can install Savvy today by running: curl -fsSL https://install.getsavvy.so | sh

Disclosure: I am building Savvy😎 to make CLI a cool place for developers to learn and share their expertise!

Top comments (0)