Skip to content

Commit 4bd91c9

Browse files
committed
Update installing_Python.md
1 parent a8bb941 commit 4bd91c9

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

notebooks/installing_Python.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,32 @@ Miniconda is a minimal installer for Conda. It includes the Conda package manage
2222
#### On macOS/Linux
2323

2424
3. If you downloaded the `.pkg` file (Graphical installer only on macOS) run the file and follow the on-screen instructions.
25-
3. If you downloaded the `.sh` file, open a terminal and run one of the following commands:
25+
3. If you downloaded the `.sh` file, open a terminal and run the following commands:
2626

2727
```bash
2828
# macOS Apple silicon
29-
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
29+
mkdir -p ~/miniconda3
30+
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
31+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
32+
rm ~/miniconda3/miniconda.sh
3033

3134
# macOS Intel
32-
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
35+
mkdir -p ~/miniconda3
36+
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda3/miniconda.sh
37+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
38+
rm ~/miniconda3/miniconda.sh
3339

3440
# Linux x86
35-
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
41+
mkdir -p ~/miniconda3
42+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
43+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
44+
rm ~/miniconda3/miniconda.sh
3645

3746
# Linux ARM64
38-
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
47+
mkdir -p ~/miniconda3
48+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O ~/miniconda3/miniconda.sh
49+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
50+
rm ~/miniconda3/miniconda.sh
3951
```
4052

4153
Follow the on-screen instructions.

0 commit comments

Comments
 (0)