From c591350038377e8dbb2b86c01abed4c7ae9a18ab Mon Sep 17 00:00:00 2001 From: David Ibia Date: Tue, 1 Oct 2024 15:06:08 +0100 Subject: [PATCH] feat(setup-mac.sh): add check for anaconda installation and install anaconda using Homebrew if not already installed --- setup-mac.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup-mac.sh b/setup-mac.sh index 6314788..3742edf 100755 --- a/setup-mac.sh +++ b/setup-mac.sh @@ -169,6 +169,16 @@ else curl -sSL https://install.python-poetry.org | python3 - fi +# Check if anaconda is installed + +if command -v conda &> /dev/null; then + echo "anaconda is installed." +else + echo "anaconda is not installed." + echo "Installing anaconda..." + brew install --cask anaconda +fi + # Install Flutter version manager if command -v fvm &> /dev/null; then