# Android Source: https://applemusic.mintlify.app/amd-v2/quickstart/android Apple Music Download On Android # Linux Source: https://applemusic.mintlify.app/amd-v2/quickstart/linux Apple Music Download On Linux # MacOS Source: https://applemusic.mintlify.app/amd-v2/quickstart/macos Apple Music Download On MacOS # Windows Source: https://applemusic.mintlify.app/amd-v2/quickstart/windows Apple Music Download On Windows # Android Source: https://applemusic.mintlify.app/amdl/quickstart/android Apple Music Download On Android # Preface # Installation Download and install the following two APKs: the first one is used as the decryption client, and the second one is used as the download client. [https://github.com/itouakirai/apple-music-jshook-script/releases/download/wsa/Apple.Music\_4.9.3\_arm64v8a\_gadget.apk](https://github.com/itouakirai/apple-music-jshook-script/releases/download/wsa/Apple.Music_4.9.3_arm64v8a_gadget.apk) [https://github.com/hanxinhao000/ZeroTermux/releases](https://github.com/hanxinhao000/ZeroTermux/releases) After installing the first application, open it and log in to your Apple Music account(`Subscription required`). We will proceed to configure the second application. Open the second application, ZeroTermux, and grant the required permissions as prompted. Next, enter the following commands to configure the environment and pull the download repository (press Enter to accept the default for any Y/N prompts that appear during the process). ``` pkg update && pkg upgrade && pkg install git golang gpac ffmpeg && git clone https://github.com/zhaarey/apple-music-downloader.git ``` In the ZeroTermux application, swipe left from the right edge of the screen to open the file manager. Navigate to `home`, `apple-music-downloader`, `config.yaml`. Choose the first option to edit the file. On Android, it is recommended to modify two values to change the storage location; otherwise, the files will be saved in the Termux application directory. ``` alac-save-folder: /sdcard/Music/AM/AM-DL atmos-save-folder: /sdcard/Music/AM/AM-DL-Atmos aac-save-folder: /sdcard/Music/AM/AM-DL-Aac ``` # Usage Launch the Apple Music application and ensure it can run continuously in the background (e.g., disable battery optimization, grant background running permissions, etc.).For Android 14 and 15, you also need to enable Stop Restricting Child Processes in Developer Settings Start ZeroTermux and enter the following command to access the download project's commands. ``` cd apple-music-downloader ``` You can then use the download commands to start downloading. ```Go Albun/Playlist/Artist go run main.go "url" ``` ```Go Atmos go run main.go --atmos "url" ``` ```Go Select track go run main.go --select "url" ``` # Linux Source: https://applemusic.mintlify.app/amdl/quickstart/linux Apple Music Download On Linux # MacOS Source: https://applemusic.mintlify.app/amdl/quickstart/macos Apple Music Download On MacOS # Preface # Installation Open the terminal. ``` brew install go gpac git docker && git clone https://github.com/zhaarey/apple-music-downloader.git ``` Use the Docker command to log in to the wrapper, replace username:password in the command with your Apple Music account(`Subscription required`). If you have enabled 2FA verification, wait to receive the verification code, then open a new terminal and follow the prompts to enter the command. If the response is type 6, the login is successful. At this point, close all terminal windows. ```Bash docker run -v ./rootfs/data:/app/rootfs/data -e args="-L username:password -F" --rm ghcr.io/itouakirai/wrapper:x86 ``` # Usage Open the first terminal and execute the wrapper run command. ```Bash docker run -v ./rootfs/data:/app/rootfs/data -p 10020:10020 -p 20020:20020 -e args="-M 20020 -H 0.0.0.0" --rm ghcr.io/itouakirai/wrapper:x86 ``` Open the second terminal, get ready to start downloading. ``` cd apple-music-downloader ``` You can then use the download commands to start downloading. ```Go Albun/Playlist/Artist go run main.go url ``` ```Go Atmos go run main.go --atmos url ``` ```Go Select track go run main.go --select url ``` # Windows Source: https://applemusic.mintlify.app/amdl/quickstart/windows Apple Music Download On Windows [https://telegra.ph/Apple-Music-Wrapper-On-WSL1-07-21](https://telegra.ph/Apple-Music-Wrapper-On-WSL1-07-21)