Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.08 KB

File metadata and controls

54 lines (37 loc) · 1.08 KB

Pimterm

image

pimterm can be used to find the linux command you need. for example:

Using the short notation

pimterm c "how do I ping example.com?"
ping example.com

Using the long notation

pimterm command "how do i remove a file"
rm filename

You can also ask reqular questions:

Using the short notation

pimterm q  "who is cleopatra?"
Cleopatra was the last active ruler of the Ptolemaic Kingdom of Egypt.

Using the long notation

pimterm question  "what is the capital of the netherlands?"
Amsterdam

Notes

Intallation

Make sure to add your chatgpt key to your system

pimterm c "how do i add my chatgpt key to my linux instalation?"
echo "export OPENAI_API_KEY='YOUR_API_KEY'" >> ~/.bashrc

Then install using pip ( or by downloading the files )

pip install pimterm

The ai will try to return only the command needed. Somtimes when the ai feels explenation is needed it will add it in plain text.