Skip to content

Instantly share code, notes, and snippets.

@ytooyama
Last active January 16, 2024 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ytooyama/46fc1399c455c5fbf254c4bf8f32cf79 to your computer and use it in GitHub Desktop.
Save ytooyama/46fc1399c455c5fbf254c4bf8f32cf79 to your computer and use it in GitHub Desktop.
Install Miniconda on M1 Mac Ventura

Install Miniconda on M1 Mac Ventura + zsh

% curl -LO https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
% bash Miniconda3-latest-MacOSX-arm64.sh 

Welcome to Miniconda3 py311_23.11.0-2

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 

Do you accept the license terms? [yes|no]
>>> yes

Miniconda3 will now be installed into this location:
/Users/tooyama/miniconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/Users/tooyama/miniconda3] >>> 
PREFIX=/Users/tooyama/miniconda3
Unpacking payload ...

Installing base environment...

Downloading and Extracting Packages:

Preparing transaction: done
Executing transaction: / 

done
installation finished.
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
   run the following command when conda is activated:

conda config --set auto_activate_base false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[yes] >>> no

You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:

eval "$(/Users/tooyama/miniconda3/bin/conda shell.YOUR_SHELL_NAME hook)" 

To install conda's shell functions for easier access, first activate, then:

conda init

Thank you for installing Miniconda3!

% source ~/miniconda3/etc/profile.d/conda.sh


% conda env list
# conda environments:
#
base                     /Users/tooyama/miniconda3

% conda activate base
(base) tooyama@m1macmini(01/16/24 11:57:54) ~ 
% python --version
Python 3.11.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment