I believe in keeping my programming environments isolated. It pays to set up a separate toolchain for each platform I work with. Today I was experimenting with ESP8266 modules so I set up a portable version of the Arduino IDE and configured it to program ESP8266 modules.
The first step is to download and extract the zipped version of the latest IDE. Before running it, create a directory called portable in the root of the extracted zip installation. This will cause the IDE to create all its files here instead of all over your computer.
Now you can add the ESP board definitions to the IDE. In the preferences dialog, paste one of the following links into the Additional Board Manager URL’s box.
This will create a portable installation that won’t get messed up when you start working on the next platform.