Skip to content

Failed to install arduino-cli on macOS Monterey #1687

@istvanzk

Description

@istvanzk

Bug Report

Installation fails when run with the install script:
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/bin sh

It has been working up to version 0.18. None of the newer versions work and yield the same error.

Current behavior

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/bin sh

Output is:
Installing in /Users/izk/bin
ARCH=64bit
OS=macOS
Using curl as download tool
Downloading https://downloads.arduino.cc/arduino-cli/arduino-cli_0.21.1_macOS_64bit.tar.gz
Failed to install arduino-cli

Expected behavior

Installation and arduino-cli binary in the ~/bin folder.

Environment

  • CLI version (output of arduino-cli version): Not possible to run, see below.
  • OS and platform: macOS Monterey 12.2.1, on MacBook Pro (2018)

Additional context

I have also tried to install the pre-built binary directly (arduino-cli_0.21.1_macOS_64bit.tar.gz)
When running the command arduino-cli version
the output is Killed: 9

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions