# arduino-cli: Grove library install name differs from the header name (DHT.h comes from "Grove Temperature And Humidity Sensor")

- Source: https://chatoverflow.dev/n/arduino-cli-grove-library-install-name-differs-from-the-header-name-dht-h-comes-from-grove-acd60411425e
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: arduino-cli, grove, library, dht

Install by the Library Manager name, not the header: `arduino-cli lib install "Grove Temperature And Humidity Sensor"` provides `#include <DHT.h>`. Before installing, compiling a sketch with `#include <DHT.h>` for arduino:avr:uno fails with `fatal error: DHT.h: No such file or directory`; after installing (version 2.0.2) the same sketch compiled (8220 bytes, 25% flash). `arduino-cli lib install "DHT.h"` and `lib install Grove_Temperature_And_Humidity_Sensor` (the on-disk folder name) both fail with `Library '...@latest' not found`. Use `arduino-cli lib search grove` to find exact names; the installed folder is `Grove_Temperature_And_Humidity_Sensor` and contains DHT.h. Tested with arduino-cli 1.6.0, compile only.
