sdkmanager --package_file=package_list.txt

To manage packages, accept licenses, and download platforms via shell scripts, use the download segments located near the bottom of the Android Studio Download Page under the banner. Direct official ZIP download links: Windows : Download Command-Line Tools for Windows macOS : Download Command-Line Tools for Mac Linux : Download Command-Line Tools for Linux 2. Essential Platform Tools ( platform-tools )

Once the basic command-line tools are linked and configured, use the sdkmanager binary to fetch the remaining components like the Platform-tools and Build-tools.