Maker.io main logo

How to Install Libraries and Boards with the New Arduino IDE 2.0 RC

2022-01-03 | By Maker.io Staff

Another recent article investigated the new features and added improvements in the Arduino IDE 2.0 RC. There, I mentioned that the development team has completely overhauled the design and user experience of the IDE. The library manager and boards manager are two vital tools in the Arduino workflow. This article summarizes the differences between the new IDE and the classic Arduino IDE and how you can efficiently employ the updated tools in your projects.

Installing Libraries in the New Arduino IDE 2.0

One way to add external libraries to your Arduino installation is to use the library manager, just like you did with the classic Arduino IDE. However, instead of opening a new pop-up window, the most recent version of the Arduino IDE displays the library manager in its right-hand side toolbar. You can access the manager by clicking the following button in the IDE:

How to Install Libraries and Boards with the New Arduino IDE 2.0 RC Use the highlighted button to bring up the toolbar and make it show the library manager.

Doing so opens up the toolbar and instantaneously displays the library manager. Then, you can use the search bar to filter libraries and use the install button to download a selected library, just like in the classic IDE:

How to Install Libraries and Boards with the New Arduino IDE 2.0 RC Use the toolbar’s search function to find libraries. Then, click the highlighted button to download and install a library.

And just like that, with only a few button clicks and without any long delays, the IDE downloads and installs the selected library. The new Arduino IDE 2.0 offers a significantly more user-friendly and streamlined process for installing external software packages. Thanks to these improvements, you’ll get your projects up and running in practically no time! Alternatively, you can also use the app’s top menu bar to access the library manager, like in the classic Arduino IDE.

Installing Board Support Files using the New Arduino IDE 2.0

Like the library manager, the boards manager is now also located in the right-hand side toolbar. This tool allows you to install additional board support files. Use the following button to access the boards manager:

How to Install Libraries and Boards with the New Arduino IDE 2.0 RC Use the highlighted button to bring up the boards manager.

Pushing the highlighted button reveals the toolbar and opens the boards manager. You can then use the search bar to find the board you’re looking for. Just like with the library manager, you can then install the board support files with the click of a single button:

How to Install Libraries and Boards with the New Arduino IDE 2.0 RC Use the search bar to find your board. Then, click the button to install the board support files.

Note that, just like in the classic IDE, the new Arduino IDE 2.0 doesn’t come with an exhaustive list of all supported development boards. Instead, you might need to add an external boards manager URL to the IDE to find the board you’re looking for in the boards manager. To accomplish this, copy the additional boards manager URL you want to install, and then open the settings view in the IDE using the program’s top menu bar:

How to Install Libraries and Boards with the New Arduino IDE 2.0 RC You can open the preferences window using the app’s top menu bar.

Doing so opens up the preferences view within the IDE. From here, you can paste in the additional URL or open a small pop-up window that lets you add multiple external URLs just like in the classic Arduino IDE:

How to Install Libraries and Boards with the New Arduino IDE 2.0 RC The preferences panel lets you add a board manager URL. Use the right-hand side button to access the advanced board manager URL settings.

Summary

The new Arduino IDE 2.0 offers a much more streamlined process for managing external libraries and board support files. Overall, user experience has significantly improved compared to the classic Arduino IDE. The new IDE integrates both tools into its right-hand side toolbar. Also, the new UI completely eliminates the need for additional pop-up windows. The new user interface is much more responsive and easier to use.

制造商零件编号 A000062
ARDUINO DUE ATSAM3X8E EVAL BRD
Arduino
¥315.18
Details
制造商零件编号 A000066
ARDUINO UNO R3 ATMEGA328P BOARD
Arduino
¥190.97
Details
制造商零件编号 A000073
ARDUINO UNO SMD R3 ATMEGA328
Arduino
¥182.01
Details
制造商零件编号 ABX00032
ARDUINO NANO 33 IOT WITH HEADERS
Arduino
¥219.78
Details
制造商零件编号 A000005
ARDUINO NANO ATMEGA328 EVAL BRD
Arduino
¥172.33
Details
制造商零件编号 ABX00027
ARDUINO NANO 33 IOT
Arduino
¥134.96
Details
制造商零件编号 A000067
ARDUINO MEGA2560 ATMEGA2560
Arduino
¥334.88
Details
制造商零件编号 ABX00028
ARDUINO NANO EVERY
Arduino
¥111.52
Details
制造商零件编号 ABX00053
ARDUINO NANO RP2040 CONNECT HDRS
Arduino
¥124.54
Details
制造商零件编号 ABX00042
PORTENTA H7
Arduino
¥927.16
Details
制造商零件编号 ABX00021
ARDUINO UNO WIFI REV2
Arduino
¥437.94
Details
制造商零件编号 ABX00023
ARDUINO MKR WIFI 1010
Arduino
¥267.08
Details
制造商零件编号 ABX00029
MKR WAN 1310 W/O ANTENNA
Arduino
¥371.19
Details
制造商零件编号 ABX00018
MKR GSM 1400
Arduino
¥573.27
Details
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum