circleci-cli
circleci-cli copied to clipboard
"circleci: no bottle available!" on m1 mac
Meta:
CircleCI CLI Version: None because it doesn't install
Operating System: Big Sur
CircleCI CLI Diagnostic: None because it doesn't install
Current behavior:
On homebrew:
davidshaffer@Kevin11 ~ % brew install circleci
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.
Error: circleci: no bottle available!
You can try to install from source with:
brew install --build-from-source circleci
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
Expected behavior:
CLI should install
When did this begin / Was this previously working?:
This started as I am setting up a new M1 MacBook Pro for development. brew install circleci
works on my 2019 Intel 16" MacBook Pro, so I'm assuming this is an issue with Apple silicon
Additional Information:
Running brew config
and brew doctor
at 13:35 2021-04-29:
davidshaffer@Kevin11 ~ % brew config
HOMEBREW_VERSION: 3.1.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 94ce3236a517dfae6b492dcb4fd6b726a6175e8f
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5893ac2e5f564ef0298643e46fd84ee170e64975
Core tap last commit: 2 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: subl --wait
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 12.0 build 1205
Git: 2.31.1 => /opt/homebrew/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.3-arm64
CLT: 12.5.0.0.1.1617976050
Xcode: N/A
Rosetta 2: false
davidshaffer@Kevin11 ~ % brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
ilmbase
This may be related to https://github.com/CircleCI-Public/circleci-cli/issues/579
I was able to install CircleCI-cli on my M1 Macbook pro by;
- Downloading the latest source code release from https://github.com/CircleCI-Public/circleci-cli/releases
- Unzip the source code in your downloads directory
- Open up a terminal and change directory into the source code directory for CircleCI-cli
- Run the command
sudo ./install.sh
This should install circleci-cli tool, you might need to restart your terminal for the command to appear.
Just linking to my comment over at another issue: https://github.com/CircleCI-Public/circleci-cli/issues/579#issuecomment-859902768.
In short, there's a PR open in Homebrew/homebrew-core to get CircleCI CLI bottled for ARM, which will hopefully be merged soon.