Until the fall of 2019, you were required to have iTunes if you had an iPhone or iPod, or used Apple Music. Then Apple discontinued iTunes for Mac in favor of separate Music and Podcasts apps. Until then, Macs came with iTunes preinstalled, but if you use Windows or Linux, or need a different version than the one you have, you can still download it.
How to Download All Songs in Apple Music Library at Once – Simple Tutorial (2023)
Windows users can download iTunes from the Microsoft Store. If you already have iTunes on your computer, you can update iTunes to the latest version to get new features, bug fixes, and device support.
If you have a 32-bit version of Windows, download the 32-bit version of the program. However, if you are using a 64-bit edition of Windows, download either the 32-bit or 64-bit version.
Download the 64-bit version of the latest version of iTunes or the 32-bit version.