A developer workstation: editor, Git, Python and Node

Install the free tools used by the web, backend, software-engineering, automation and DevOps courses, and create a GitHub account so you can write code, keep it under version control and run it on your own machine.

  • Time: 30 to 45 minutes
  • Cost: free software, your own computer

What you need

Most programming courses need the same small toolkit: an editor, Git for version control, a language runtime and a way to share your work. All of it is free and runs on Windows, macOS and Linux.

  • Editor: Visual Studio Code (code.visualstudio.com).
  • Git: git-scm.com. Version control records every change so you can undo mistakes and see history.
  • Python 3: python.org (on Windows tick “Add Python to PATH” during install).
  • Node.js (LTS): nodejs.org, for JavaScript, web tooling and the web and backend courses.
  • A GitHub account: github.com. Free accounts can hold public and private repositories and run automated workflows with a free monthly allowance (check the current limits).

Set it up

  1. Install the tools above, then open a terminal (PowerShell on Windows, Terminal on macOS, any shell on Linux).
  2. Tell Git who you are:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git config --global init.defaultBranch main
  1. Create an SSH key and add its public half to GitHub (Settings, SSH keys) so you can push without typing a password: ssh-keygen -t ed25519 -C "you@example.com" and then print the public key with cat ~/.ssh/id_ed25519.pub (on Windows type $env:USERPROFILE\.ssh\id_ed25519.pub).
  2. In VS Code, install the extensions for the languages you use (Python, ESLint, Prettier, YAML, Docker).
  3. Make a first project:
mkdir hello && cd hello
git init
echo "print('hello')" > hello.py
git add . && git commit -m "First commit"

Check that it works

  • git --version, python --version (or python3), node --version and npm --version each print a version.
  • python hello.py prints hello.
  • ssh -T git@github.com greets you by your user name.
  • You can create a repository on GitHub, add it as a remote (git remote add origin ...) and git push -u origin main.

Practise safely

  • Never commit secrets. Passwords, API keys and tokens must not appear in a repository, even a private one. Keep them in environment variables or an ignored .env file listed in .gitignore.
  • Use a virtual environment for Python projects (python -m venv .venv) so projects do not interfere with each other.
  • Make small commits with clear messages, and work on a branch for anything you might want to discard.
  • Back up your work by pushing to GitHub regularly.

Go further

  • Rebuild each lesson’s code exercise in a real project folder, run it, and write one test for it.
  • Practise the whole workflow: branch, change, commit, push, open a pull request on GitHub, review it yourself, and merge.
  • Set up a free automated check (a GitHub Actions workflow that runs your tests on every push).
  • Read other people’s open-source projects and try to fix a small issue; it is the fastest way to learn real code.

Courses that use this lab

Other lab guides

Software changes quickly. Menu names and version numbers may differ a little from what you see; the ideas and the check at the end of each section stay the same. Always download from the project's own website, and read the licence terms for your situation.