The name to use when installing or uninstalling libraries is inconsistent
Installing libraries work as intented. ie:
PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib install "LiquidCrystal I2C"
Downloading LiquidCrystal [email protected]...
LiquidCrystal [email protected] already downloaded
Installing LiquidCrystal [email protected]...
Installed LiquidCrystal [email protected]
But trying to remove the library using the name used when installing, does not always remove the library.
PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib uninstall "LiquidCrystal I2C"
Library LiquidCrystal I2C is not installed
In this case I had to replace the space with a _
PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib uninstall "LiquidCrystal_I2C"
Uninstalling [email protected]...
The libraries should be installed and uninstalled using the same name
PS C:\Users\gaspa\Downloads> .\arduino-cli.exe version
arduino-cli.exe Version: 0.4.0 Commit: =98b7be9
Windows 10 Pro build 1903
If possible, could I try this one?
@HowJMay all yours! :smile:
Thanks!
My pleasure
@masci May I ask that whether all the library with the following link can be downloaded with arduino-cli ?
https://www.arduinolibraries.info/
@HowJMay http://downloads.arduino.cc/libraries/library_index.json contains all the libraries that can be installed out of the box with the CLI, then users can add any number of additional json indexes listing their own "unofficial" libraries.
Thanks
May I ask that whether all the library with the following link can be downloaded with arduino-cli ?
https://www.arduinolibraries.info/
AFAIK this website takes the list from our library_index.json so: yes.
Thank you !