Hello.
I Want to install a local .zip library with arduino-cli. but i got this error;
--git-url and --zip-path are disabled by default.
this is my command;
arduino-cli lib install --zip-path C:\Users\Ben\Desktop\NewPing_v1.9.0.zip
How can i set enable_unsafe_install to true?
pert
2
Hi @mbksoft. You can learn about configuring Arduino CLI here:
https://arduino.github.io/arduino-cli/latest/configuration/
To summarize, you have two options:
You can add the enable_unsafe_install
key to your arduino-cli.yaml
file:
library:
enable_unsafe_install: true
Or you can configure it by setting the environment variable:
set ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true
system
Closed
3
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.