Install Forrest
Download the latest version of our PHAR archive and give it afterwards rights to be executed.
wget https://github.com/startwind/forrest/releases/latest/download/forrest.phar
chmod +x forrest.phar
chmod +x forrest.phar
copy to clipboard
Most likely, you want to put the forrest.phar into a directory on your PATH, so you can simply call forrest from any directory (global install), using for example:
sudo mv forrest.phar /usr/local/bin/forrest
copy to clipboard
There are some more cool features in Forrest. If you want to use all of them please run the following command:
forrest run forrest:init
copy to clipboard
Now you can ask your questions. There are two ways of doing it.
forrest ask "How do I delete a file?"
copy to clipboard
If you ran the init command there should be an alias now that makes it even easier to ask the AI.
It's called how
.
how do I delete a file
copy to clipboard