Setting Up Your First Development Environment

A from-scratch lab to get your first coding environment working — editor, a language runtime, the terminal, and Git — so setup friction never blocks your learning again.

Free preview · 2 of 3 free left
Topic: Student Life Lab beginner 12 min read
Starting state: A personal laptop (Windows, macOS, or Linux) with administrator rights and an internet connection. No prior setup or programming experience required.

Objective

Get a working development environment on your own machine — an editor, a language you can run, a working terminal, and Git — so setup friction never again stands between you and learning. Doing this once, properly, at the start of college saves countless hours over four years.

Setup

Confirm you have admin rights and a stable internet connection. This lab is entirely local and free.

Steps

  1. Install a code editor. Install Visual Studio Code (free, cross-platform). Open it once to confirm it launches.
  2. Install a language runtime. Python is a forgiving first language. Install from python.org. On Windows, tick "Add Python to PATH" — this one checkbox prevents the most common beginner setup problem.
  3. Open a terminal. In VS Code, Terminal → New Terminal. Getting comfortable typing commands here is a high-value early habit.
  4. Confirm the runtime works. Type python --version. You should see a version number. "Command not found" usually means the PATH step was missed.
  5. Write and run your first program. Create hello.py with print("Hello — my environment works"), then run python hello.py. Seeing your text means the whole chain works end to end.
  6. Install Git from git-scm.com and confirm with git --version. You don't need to use it yet — just have it ready.

Verification checklist

Extend this lab

Change hello.py to ask for your name with input() and greet you back. Running a program that responds to you is the first real taste of programming. When ready, read Your First Program: Understanding Before Memorizing.

Verification checklist

Part of: Incoming Students

← Back to Labs

Next → Your First GCP Cloud Run Deployment A hands-on, from-scratch lab deploying a simple application to GCP Cloud Run — the actual commands, what each one does, and how to confirm it worked.