Use iCloud Music Library on Mac
Turn on iCloud Music Library on other computers
In the iTunes app on your Mac, sign into the iTunes Store using the same Apple ID that you used to set up iCloud Music Library on the first computer.
Choose iTunes > Preferences, then click General.
Select the iCloud Music Library tick box.
Turn on iCloud Music Library on your iPod touch, iPhone or iPad
WARNING: After you turn on iCloud Music Library on a device, all the music that’s currently on the device is deleted and replaced with songs from iCloud. Also, you can’t use iTunes to sync music to the device. You can add songs to the device only by downloading them from iCloud.
In the iTunes app on your Mac, sign into the iTunes Store from the device using the same Apple ID that you used to set up iCloud Music Library on your computer (if you haven’t done so already).
On your device’s Home screen, tap Settings, then tap Music.
Tap to turn on iCloud Music Library.
For information about adding songs to your device from iCloud, see the documentation for your device.
Play or download songs from iCloud
If a song hasn’t been downloaded, it has an iCloud Download button next to it.
In the iTunes app on your Mac, do any of the following:
Play a song: Double-click it.
Download a song: Click the iCloud Download button .
To view only your downloaded items, select Downloaded in the sidebar on the left.
After you download a song to a computer, it remains in the computer’s iTunes library, even if you turn off iCloud Music Library.
For information about downloading and playing songs on an iOS device, see the documentation for the device.
Remove a song from iCloud
Deleting a song from iCloud also removes the song from all your iOS devices that have iCloud Music Library turned on. If the deleted song was downloaded to any of your other computers, it remains on those computers until you manually delete it.
In the iTunes app on your Mac, choose Music from the pop-up menu at the top left, then click Library.
Select a song or songs to delete and press the Delete key.
If the song hasn’t been downloaded from iCloud to the computer you’re currently using, click Delete Song.
If the song has been downloaded, select “Also delete this song from iCloud,” then click Delete Song. If you don’t select this option, the item is deleted from your computer but remains in iCloud.
In your iCloud Music Library, you can store:
Up to 100,000 songs, not including songs (or music videos) purchased from the iTunes Store. Files must be a maximum of 200 MB.
Music videos purchased in the iTunes Store.
Playlists that include only songs.
Smart Playlist rules, which are applied on the computer or device they’re downloaded to.
Note: iCloud Music Library isn’t available in all countries or regions.