Hi, I am trying to deploy to the Nicla Voice. I’m using an M1 Mac. I’ve downloaded the Arduino CLI (v1.1.1) but when I run the ./install_lib_mac.command
I receive an error:
You need to upgrade your Arduino CLI version (now: 1.1.1, but required: 0.34.x or higher)
See https://arduino.github.io/arduino-cli/installation/ for upgrade instructions
This looks like a lower version and I can’t find it. Any ideas?
Hi,
Looks like the version detection code broke since the 1.x release of the CLI, will get it fixed. You can just remove:
if (( CLI_MINOR < EXPECTED_CLI_MINOR)); then
echo "You need to upgrade your Arduino CLI version (now: $CLI_MAJOR.$CLI_MINOR.$CLI_REV, but required: $EXPECTED_CLI_MAJOR.$EXPECTED_CLI_MINOR.x or higher)"
echo "See https://arduino.github.io/arduino-cli/installation/ for upgrade instructions"
exit 1
fi
From that script and rerun; will most likely be fine.
1 Like
That worked - thanks for the quick response. I was worried that v0.34.x may have been something special.