Arduino IDE 2.0.0 in Windows

Hello, It's great that Arduino IDE 2.0.0 is released and I am eagerly looking forward to try it, but unfortunately I have microsoft store version installed and no updates available, if I have to switch to installer version then I have to migrate all the libraries and boards that I have which is tedious. So is there any way I can try the new version like any settings or something without migrating my existing setup? Is any development going on for microsoft store version for 2.0 version so that I can wait for update?

I'm not familiar with the store version. Where are your libraries located? For the normal 1.8.x version, 3rd party are in C:\Users\yourUsername\Documents\Arduino\libraries. If they are indeed there, you can just install IDE 2.0 and it will pick up the libraries.

You can also copy all your libraries from wherever they are to the above directory. It should not be tedious as all 3rd party libraries are in one location. Just select all libraries and copy them after you have installed IDE 2.0

Your topic has been moved to the dedicated IDE 2.0 section of the forum.

Hi @gnpaone. Thanks for your interest in Arduino IDE 2.0.0!

Let's break it down by each individual type of asset used by your current 1.x version:

Libraries

Libraries are installed to the libraries subfolder of your sketchbook folder.

As sterretje already explained, Arduino IDE 1.x and 2.x both use the same default sketchbook folder location (and thus the same library installation location) so if you are using the default "Sketchbook location" setting in both IDE versions the your libraries will automatically be used by Arduino IDE 2.x and you don't need to do anything.

If you are using a custom "Sketchbook location" setting in the preferences of your Windows Store installation of Arduino IDE 1.x, you only need to also set that location in your Arduino IDE 2.x preferences. I'll provide instructions:

  1. Start your Microsoft Store installation of Arduino IDE 1.x
  2. Select File > Preferences... from the Arduino IDE 1.x menus.
  3. Take note of the path shown in the "Sketchbook location" field.
  4. Click the "Cancel" button in the "Preferences" dialog.
  5. Select File > Quit from the Arduino IDE 1.x menus.
  6. Start Arduino IDE 2.x.
  7. Select File > Preferences... from the Arduino IDE 2.x menus.
  8. Set the same path in the "Sketchbook location" field.
  9. Click the "OK" button in the "Preferences" dialog.
  10. Select File > Quit from the Arduino IDE 2.x menus.
  11. Start Arduino IDE 2.x.

Boards

Arduino IDE 2.x uses the same boards installation location as the standard Arduino IDE 1.x package, but unfortunately the Microsoft Store version of Arduino IDE 1.x uses a different location that will not be recognized automatically by Arduino IDE 2.x.

There is a way to configure Arduino IDE 2.x to use the same location as the Microsoft Store version. I'll provide instructions:

  1. Start Arduino IDE 2.x.
  2. Select File > Quit from the Arduino IDE 2.x menus.
    This start/quit cycle was done to cause Arduino IDE 2.x to generate the configuration file you will be modifying in the next steps.
  3. Open the file at the following path using any text editor:
    C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
    
    (where <username> is your Windows username)
    :exclamation: If looking for it with your file browser or command line, note that the folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. Change this line of the file:
      data: C:\Users\<username>\AppData\Local\Arduino15
    
    To this:
      data: C:\Users\<username>\Documents\ArduinoData\
    
    (replacing <username> with your Windows username)
  5. Save the file.
  6. Start Arduino IDE 2.x

You should now find all your boards listed under the Tools > Board menu.

Settings

Arduino IDE 1.x and 2.x use different preference stores, so Arduino IDE 2.x will not pick up your previous preferences. Since they both use the same defaults, this won't be noticeable for those who were previously using default preference values, but any custom preferences must be migrated manually. There aren't many preferences so this should only take a minute to do.

The most common custom preference is the Additional Boards Manager URLs preference, to which you must add the URLs for any 3rd party boards platforms (e.g., ESP8266, ESP32) you might wish to install via the Boards Manager.

Arduino IDE 2.x will still recognize your installed boards platforms even without the URLs, but the URLs are required to get notifications of available updates when new versions of the installed 3rd party platforms come out.

If you only want to give Arduino IDE 2.x a try, that is no problem so you can skip the preferences migration, but I mention it since we are discussing migration and this is an important step for a long term migration.


Please let me know if you have any questions or problems while giving Arduino IDE 2.x a try.

I am not aware of any. I'm sure it will happen eventually, but it will be some time. Unless you have a specific reason for needing to use the Microsoft Store version, then I recommend just using the regular installation method, downloading the IDE from the "Software" page:

If there is a specific reason you need to use the Microsoft Store version, I would be interested in learning about it.

Something to note is that, unlike Arduino IDE 1.x, Arduino IDE 2.x has an auto-update capability. You will get a notification when a new version is available and can update to that version by simply clicking a button. I believe the lack of an auto-update capability in the standard version of Arduino IDE 1.x was the main reason some preferred using the Microsoft Store version, which automatically updated.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.