The software is available for free, but you must download it through the official STMicroelectronics website to ensure security and receive the correct installer for your OS.
https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/stm32cubeide.html stm32cubeide 180 download link
Clicking "Version history" will expand or redirect to a table listing all previous releases of STM32CubeIDE. The software is available for free, but you
If you already have an older version of STM32CubeIDE installed, you can often update directly within the software: Help > Check for updates The software is available for free