yeah, you have to type it in a terminal.
if you want to be able to click to run it, you have to give it execute permission
chmod +x <filename>
replace <filename> with the file that you want to be able to click
from now on, you can click the file to run it