You can now list and install packages using the sdkmanager command.
export ANDROID_HOME=$HOME/android-sdk export PATH=$PATH:$ANDROID_HOME/platform-tools export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
Run the installer and follow the setup wizard.