Installing Git, Python and VS Code
There are several software tools used in the statschat course. The guidance below will help you to download, install and configure the software for your local machine. All of the software are free to use and should be relatively easy to set up. If you have any problems please do not hesitate to post a question on GitHub issues.
Git
Git is a version control system used to track changes to local files.
Windows
- Download from git-scm.com
- Run the .exe installer
- Use default options unless advised otherwise
Check Git whether the installation has been successful by opening Git Bash from the Start Menu.
macOS
- Open the Terminal
- Type
gitand press Enter - If not installed, follow prompts to install Xcode Command Line Tools
Alternatively install via Homebrew:
brew install gitLinux (Debian):
sudo apt update
sudo apt install git-all
Python
Python is an open source programming language with extensive libraries for working with LLMs.
Windows
- Download from python.org
- Critical: Check “Add Python to PATH” during installation
- Verify in Command Prompt:
python --version
pip --versionmacOS
- Download .pkg installer from python.org
- Run installer and follow instructions
- Verify in Terminal:
python3 --version
pip3 --versionLinux (Ubuntu):
sudo apt update
sudo apt install python3 python3-pip
Visual Studio Code
VS Code is a free, industry-standard code editor with Git integration and Python support.
- Download from code.visualstudio.com
- Run installer (default settings recommended)
- Launch VS Code
There are a couple of essential extensions that you should install too:
Go to the Extensions tab (Ctrl+Shift+X) and install:
Further reading
- Visual Studio Code. (2022, April 29). Learn Visual Studio Code in 7min [Video]. YouTube. https://www.youtube.com/watch?v=B-s71n0dHUk
- Visual Studio Code. (2024, August 12). Getting Started with Python in VS Code [Video]. YouTube. https://www.youtube.com/watch?v=D2cwvpJSBX4