You can go through the following tutorial if you are using a MAC device to do the STM32 related works:
Special Requirements:
You must download the IDE version: 1.19.0 from the link
For any issues, you can also check out this tutorial -> https://youtu.be/mX8KlG5W4Jg