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.
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)"
- Open Terminal window.
- Execute
brew install --cask anaconda
to install Anaconda.--cask
is an extended version of Homebrew that lets you install GUI macOS applications. - Run
/opt/homebrew/anaconda3/bin/conda init zsh
. The result will look like the below figure. - Exit Terminal window and reopen it.
- Run
conda --help
to validate the installation.
- 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
andbrew upgrade
.