Installation issues on linux, paths don't exist

I’m following this install guide http://ionicframework.com/docs/guide/installation.html and when I go the Cordova android part things start to diverge http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html

the standalone SDK doens’t seem to an option anywhere anymore, and the studio install produces a directly structure that’s completely different than what the rest of the docs and script seem to assume and I cannot work out what it’s looking for to adjust.

should I be following a different guide?