Skip to content

Commit

Permalink
Merge pull request #1 from ericmgoeken/patch-2
Browse files Browse the repository at this point in the history
Thanks! πŸ˜„
  • Loading branch information
dylancl authored Sep 27, 2022
2 parents 8ea3f4f + c0fd6f6 commit be6d1af
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions setup_mac.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
#!/usr/bin/env bash -l

# Install conda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
if ! command -v conda &> /dev/null
then
echo "conda is not installed. Installing miniconda"

# Install conda
bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda
# Install conda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh

# Add conda to path
export PATH="$HOME/miniconda/bin:$PATH"
# Install conda
bash Miniconda3-latest-MacOSX-arm64.sh -b -p $HOME/miniconda

# Add conda to path
export PATH="$HOME/miniconda/bin:$PATH"

else
echo "conda is installed."

fi

# Initialize conda
conda init
Expand Down

0 comments on commit be6d1af

Please sign in to comment.