Use iCloud Music Library on PC
If you subscribe to Apple Music or iTunes Match, you can make your entire iCloud Music Library available on all your devices when you’re signed in with the same Apple ID. You can access your library anytime, whenever you’re connected to the internet.
Your iCloud Music Library can keep the following available in the cloud:
Up to 100,000 songs, not including songs (or music videos) purchased from the iTunes Store; files can be no larger than 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: Apple Music isn’t available in all countries or regions.
Turn on iCloud Music Library on other computers
You can turn on iCloud Music Library on other computers you authorised to access your iTunes purchases.
In the iTunes app on your PC, sign into the iTunes Store using the same Apple ID that you used to set up iCloud Music Library on the first computer.
Choose Edit > Preferences, then click General.
Select the iCloud Music Library tick box.
Turn on iCloud Music Library on your iPhone, iPad or iPod touch
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 with the device. You can add songs to the device only by downloading them from iCloud.
In the iTunes app on your PC, ensure you’re signed into the iTunes Store on the device using the same Apple ID that you used to set up iCloud Music Library on your computer.
On your device’s Home screen, tap Settings, then tap Music.
Do one of the following:
For a device using iOS 13, iPadOS 13 or later: Tap to turn on Sync Library.
For a device using an earlier version of iOS: Tap to turn on iCloud Music Library.
For more information, see the Music chapter of the user guide for iPhone, iPad or iPod touch. For a device that doesn’t use the latest version of iOS or iPadOS, get the user guide from the Apple Support Manuals website.