1. Download the latest version of the android command line tools (https://developer.android.com/studio#downloads)
$ wget https://dl.google.com/android/repository/commandlinetools-<OS>-<version>_latest.zip
Note: Since you'll need to check the downloads page to get the latest version, you might as well download it there. Using wget
is more useful when writing scripts.