On Unix systems - MacOSX and Ubuntu, etc - you need to make the file you downloaded executable (the file is the pre-compiled Go app for your operating system). In the directory where your downloaded file is, use the command:
chmod a+x force
Alternatively, you can run the command
sh ./force without making the file executable, but that gets tiring after a while.
To run the
force command anywhere and not just from the directory it lives in, you should add the path of the directory that contains
force to your operating system execution path (as mentioned in previous comments).
In windows you can add the full path to the directory containing the
force file in the environment variable called PATH (using the Windows control panel).
In Unix systems (MacOSX, Ubuntu, etc), you can add the full path to the directory containing the
force file to your
.profile - a file located in the root of your home directory eg
For simple apps, I create a
bin directory in the root of my home folder, eg
/home/jr0cket/bin. I put the
force file in this directory and add the following line to my
This adds any file in my bin folder to my execution path, so I can run them from any directory.
~ character is a shortcut for the root of my home directory,
John - http://jr0cket.co.uk