Skip to content

Instantly share code, notes, and snippets.

@duonghuuphuc
Created May 11, 2023 04:18
Show Gist options
  • Save duonghuuphuc/41b55f69528a295213aea1fb5948d5b9 to your computer and use it in GitHub Desktop.
Save duonghuuphuc/41b55f69528a295213aea1fb5948d5b9 to your computer and use it in GitHub Desktop.
Install Anaconda on Mac computers with Apple silicon

Install Anaconda on Mac computers with Apple silicon

Starting with macOS Catalina (10.15), the macOS will use zsh as the default shell across the operating system. Thus, there are some software that run on Terminal will have different configuration than the previous bash shell. This article will present how to install Anaconda on Mac computers with Apple silicon which run macOS Ventura (13.3.1) and zsh as the default shell. The article will also address the "This package is incompatible with this version of macOS." issue that happens when using the installation file download from Anaconda website.

Install homebrew

Homebrew is a package manager for macOS which lets you install development tools and software. Homebrew can be installed on your computer by executing the below command in Terminal.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Anaconda with Homebrew

  1. Open Terminal window.
  2. Execute brew install --cask anaconda to install Anaconda. --cask is an extended version of Homebrew that lets you install GUI macOS applications.
  3. Run /opt/homebrew/anaconda3/bin/conda init zsh. The result will look like the below figure.
  4. Exit Terminal window and reopen it.
  5. Run conda --help to validate the installation.

Install Anaconda on Mac computers with Apple silicon.

Notes

  • This Anaconda installation also ships with Anaconda-Navigator which can be accessed via Launchpad.
  • The Anaconda can be updated via brew commands, i.e., brew update and brew upgrade.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment