Will installing Pygame via Pycharm work on a Mac OS x?

Hi, I want to lean pygame and I am usig Pycharm for Python development I have the latest version of python and pycharm I am wondering if I install pygame via pycharm on my MacBook, will it work? A lot of videos on youtube say you need to install HomeBrew if you are downloading pygame from the website. If I install pygame via pycharm will it run on my Mac?