MacOS
Table of content
VSCode
- Go to the visual studio code website and click the download button.
- Unzip the downloaded file (e.g.,
VSCode-darwin-stable.zip
) and moving the resultingVisual Studio Code
file to your Applications directory.
Python
- Open a new terminal and type the following lines (separately) into the
terminal, pressing
Enter
after each one:
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh
- A license agreement will be displayed and the bottom of the terminal will
read
--More--
. PressEnter
or the space bar until you are prompted with “Do you accept the license terms? [yes|no].” Typeyes
and then pressEnter
- The installation script will inform you that it is going to install into a
default directory (e.g.,
/home/$USER/miniconda3
). Leave this default and pressEnter
. - When you are asked “Do you wish the installer to initialize Miniconda3 by
running conda init? [yes|no],” type
yes
and pressEnter
. Exit the terminal once the installation has finished. - Re-open a terminal. You should also see a
(base)
at the beginning of your prompt on your terminal. Typewhich python
into the terminal and it should return a path (e.g.,/home/$USER/miniconda3/bin/python
).- If you do not see a path like this then please try typing
conda init
, closing your terminal, and repeating this step. If your issue is still not resolved skip the following step and contact and contact Rémi so he can help you directly.
- If you do not see a path like this then please try typing
- Type the following to remove the installation script that was downloaded:
rm ./Miniconda3-latest-MacOSX-x86_64.sh
Docker
- Go to this
website
and press
Get Docker
. - Open the
Docker.dmg
file that is downloaded and drag and drop the icon to the Applications folder - Open the Docker application and enter your password. An icon will appear in
the status bar in the top-left of the screen. Wait until it reads
Docker Desktop is now up and running!
- Open a new terminal and type
docker run hello-world
. A brief introductory message should be printed to the screen.
The above step-by-step Docker instructions are distilled from here. If you have questions during the installation procedure please check that link for potential answers!