question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`az aks install-cli` installs amd64 instead of arm64 binaries on a Mac with Apple Silicon

See original GitHub issue

az feedback auto-generates most of the information requested below, as of CLI version 2.0.39

Related command

az aks install-cli

Describe the bug

Azure CLI installs kubectl tool for Intel chip on a Mac with Apple Silicon.

To Reproduce

sudo az aks install-cli

Downloading client to “/usr/local/bin/kubectl” from “https://storage.googleapis.com/kubernetes-release/release/v1.25.0/bin/darwin/amd64/kubectl

Expected behavior

Kubectl binaries for Apple Silicon located at different path sudo az aks install-cli

Downloading client to “/usr/local/bin/kubectl” from “https://storage.googleapis.com/kubernetes-release/release/v1.25.0/bin/darwin/arm64/kubectl

Environment summary

Install method: Homebrew CLI version: 2.0.39 OS: macOS 12.3 Shell: ZSH

Additional context

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
navba-MSFTcommented, Sep 26, 2022

@SergeiDavydov We appreciate your patience on this.

Thanks @FumingZhang. We shall wait for the updates from you.

0reactions
navba-MSFTcommented, Sep 27, 2022

@SergeiDavydov The above PR has been filed to fix this issue. This is currently under review. In the meantime if you have any questions, please feel free to ask.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a Universal macOS Binary - Apple Developer
A universal binary runs natively on both Apple silicon and Intel-based Mac computers, because it contains executable code for both architectures. Turn all...
Read more >
Install the Azure CLI on macOS - Microsoft Learn
Learn how to install and run the Azure CLI on macOS using the homebrew package manager. The Azure CLI has been tested on...
Read more >
Homebrew installs wrong minikube (amd64) instead of 'arm64 ...
Running this command in a Terminal which runs in Rosetta, returns amd64 architecture, hence homebrew assumes it to be Intel Mac. To remove ......
Read more >
Running Visual Studio Code on macOS
Yes, VS Code supports macOS Arm64 builds that can run on Macs with the Apple silicon chipsets. You can install the Universal build,...
Read more >
Install GitLab Runner on macOS
Install with Homebrew as an alternative to manual installation. Manual installation (official). Download the binary for your system: For Intel-based systems:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found