Skip to content

Instantly share code, notes, and snippets.

@ericmjl
Created July 9, 2020 12:44
Show Gist options
  • Save ericmjl/1b2834c92684d7d6445a64544256a48a to your computer and use it in GitHub Desktop.
Save ericmjl/1b2834c92684d7d6445a64544256a48a to your computer and use it in GitHub Desktop.
A script to install Anaconda on a new system
# Taken from https://github.com/ericmjl/dotfiles/blob/master/install_functions.sh
function install_anaconda {
bash anaconda.sh -b -p $HOME/anaconda
rm anaconda.sh
export PATH=$HOME/anaconda/bin:$PATH
# Install basic data science stack into default environment
conda install --yes pandas scipy numpy matplotlib seaborn jupyter ipykernel nodejs
jupyter notebook --generate-config
# We are done at this point, move on.
echo "anaconda successfully installed. moving on..."
}
# Taken from https://github.com/ericmjl/dotfiles/blob/master/install.sh#L108
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O anaconda.sh
install_anaconda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment