Arduino-cli library installing error : "enable_unsafe_install is false"

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\

How can i set enable_unsafe_install to true?

Hi @mbksoft. You can learn about configuring Arduino CLI here:

To summarize, you have two options:

You can add the enable_unsafe_install key to your arduino-cli.yaml file:

  enable_unsafe_install: true

Or you can configure it by setting the environment variable: