Re-installing miniconda with brew on MacOS

7 August 2021

On MacOS installing a fresh version of miniconda with brew is extremely straightforward:

# Uninstall
brew uninstall miniconda
# Install
brew install --cask miniconda

# Activate -- note this is for zsh
condaise () {
	__conda_setup="$('/usr/local/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
	eval "$__conda_setup"
	unset __conda_setup
}
condaise

# Use
conda install jupyterlab pandas