Skip to content

Instantly share code, notes, and snippets.

View evaneliasyoung's full-sized avatar

Evan Elias Young evaneliasyoung

View GitHub Profile
@chrisbraddock
chrisbraddock / anaconda-clean-base.sh
Created May 2, 2024 18:04
Reset Anaconda / Miniconda Base Environment
# https://stackoverflow.com/a/77768997/227260
CONDA_DIR="$HOME/anaconda3"
CONDA_DIR_BAK="${CONDA_DIR}_bak"
# Miniconda: https://docs.anaconda.com/free/miniconda/miniconda-other-installer-links/
# Anaconda: https://repo.anaconda.com/archive/
CONDA_INSTALL_SHELL="https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh"
# Check if backup directory exists and move if it does not