There are three primary ways to download and install an Arduino library, depending on its source and your version of the IDE. Method 1: Using the Arduino Library Manager
The is the easiest and most recommended way to install libraries directly within the Arduino IDE . how to download arduino library
Sometimes libraries are hosted on platforms like GitHub and are not available in the official manager. These can be downloaded as a compressed file. Adding a Zipped Library to Arduino There are three primary ways to download and
: Use the search bar to type the name of the library (e.g., "DHT11" or "LiquidCrystal"). "DHT11" or "LiquidCrystal").