First, download whichever version of linux you are using. You can use curl or wget to download.
Extract the downloaded file from the zip.
Grant write and read permissions.
chmod 777 ./localtonet
Then,copy it from directly at your dashboard or create and copy a token from my tokens tab, and paste it on to cli app.
./localtonet authtoken yourtoken