Pre-Arrival Setup Guide
Please complete this setup before the first day of class. We will install three tools: Git, Anaconda Python, and VS Code.
- Have admin access on your laptop.
- Keep at least 8-10 GB free disk space.
- Use a stable internet connection.
- If you get stuck, do not worry. Bring your laptop and we will help.
1. Install Git
Git is the version control tool we will use to download and manage course materials.
Windows
- Download Git from git-scm.com/download/win.
- Run the installer and keep the default options.
- Open
Git Bash(or PowerShell).
Check installation:
git --version
macOS
- Open the Terminal app.
- Run this command:
xcode-select --install
This installs Apple command line tools, including Git.
Check installation:
git --version
Linux
Use the command for your distribution:
# Ubuntu / Debian
sudo apt update
sudo apt install -y git
# Fedora
sudo dnf install -y git
# Arch
sudo pacman -S --needed git
Check installation:
git --version
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
2. Install Anaconda Python
Anaconda gives you Python plus common data science tools in one installer. Download it from anaconda.com/download.
Windows
- Download the 64-bit graphical installer for Windows.
- Run the installer with
Just Meselected. - Keep default options. You can leave "Add Anaconda to my PATH" unchecked.
- Open
Anaconda Promptafter install.
macOS
- Choose the correct installer:
Apple Silicon(M1/M2/M3/M4) orIntel. - Run the package installer.
- Open Terminal after install.
Linux
- Download the Linux installer script from Anaconda.
- From terminal, run:
bash ~/Downloads/Anaconda3-*-Linux-*.sh
- Accept defaults and answer
yeswhen asked to runconda init. - Close and reopen terminal.
Check Anaconda installation (all operating systems)
Use Anaconda Prompt on Windows, or Terminal on macOS/Linux.
conda --version
python --version
jupyter --version
Create a course environment (recommended)
conda create -n lcds-python python=3.12 -y
conda activate lcds-python
python -c "print('Python works')"
When you are done testing:
conda deactivate
3. Install VS Code
VS Code is the editor we recommend for writing and running code.
Windows / macOS / Linux
- Download VS Code from code.visualstudio.com.
- Install it normally for your operating system.
- Open VS Code, then install these extensions:
Python(by Microsoft)Jupyter(by Microsoft)
Check VS Code installation
In terminal (or PowerShell), run:
code --version
If macOS says code: command not found:
- Open VS Code.
- Press
Cmd+Shift+P. - Run:
Shell Command: Install 'code' command in PATH. - Restart terminal and run
code --versionagain.
4. Final full-system check
Run the commands below in terminal (or Anaconda Prompt on Windows):
git --version
conda --version
python --version
jupyter --version
code --version
You should see version numbers for all five commands and no errors.
Optional quick coding test
conda activate lcds-python
python -c "print('Setup complete')"
Troubleshooting
- Command not found: close and reopen terminal, then retry.
- Still failing on Windows: run commands in
Anaconda Promptinstead of PowerShell. - Still failing on macOS: restart Terminal after installation.
- Linux permissions issue: confirm you used
sudofor package install commands.
If anything does not work, bring your laptop to the course anyway. We will run a setup support session before teaching starts.