Hello @capysaraa and welcome to the forum!
For making plugins, you don’t need to build Krita, it would of course be a nice exercise, but it is not mandatory.
If you want to build plugins you should work your way through Krita’s Scripting School, if you haven’t already, you probably want to use the Python Plugin Developer Tools an absolute stroke of genius, at least in my eyes.
And you can build plugins on every platform, Windows, Linux, macOS.
Maybe you are interested in Krita’s repository, too?
Michelist