CurseForge should automatically detect your Minecraft (if it is installed). If this is not the case, follow the directions listed on this support page: Select the ...
This is a Python script made to automatically download and install Minecraft modpacks from Curseforge, Technicpack, FTB, and a direct download link as the pack was intended by the modpack author.