https://github.com/arduino/arduino-cli
- curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
- arduino-cli core update-index --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
- arduino-cli lib install "DHT sensor library" "Adafruit Unified Sensor" "LiquidCrystal"
- arduino-cli compile --fqbn esp8266:esp8266:d1 .
- arduino-cli upload -p /dev/ttyUSB0 --fqbn esp8266:esp8266:d1 .