Where to place custom KiCAD plugins on Linux?

In order to create a custom simple KiCAD plugin, save it as NAME.py in the following folder (where NAME is any filename such as MyTestPlugin):


For example, you could place a plugin in


or in


Note that you don’t need to restat pcbnew to load the plugins, you can just reload all plugins from the menu!