Switching between development and production environments

I am relatively new to plugin development and have been using the development workflow described by OutsourcedGuru in the following post.

This workflow is fairly efficient during development, however I would like to be able to test the released version of the plugin via the Plugin Manager. What is the most efficient way to remove and clean up the development plugin?

Installing using the plugin manager overwrites the development package, however the two environments may be different, so you may want two separate installs. I personally have multiple OctoPrint installs (I have one printer, and 2 development environments) across some different Pis and my laptop.

pip uninstall <plugin package> would remove the code from the plugin, both development or production installs, likewise using the plugin manager would overwrite the development install.