In this tutorial, I’ll walk you through the complete process of installing Python on Windows 11, including verifying the installation, setting environment variables, and testing everything in your terminal.
Let’s get Python running on your system in under 5 minutes.
⚙️ Step 1: Download the Latest Python Installer
- Go to the official Python Downloads page.
- Click on the latest Python release for Windows (typically the first one listed).
- Download the Windows installer (64-bit).
✅ Tip: Always use the latest stable version unless you have a specific need for an older one.
📦 Step 2: Run the Installer
Once the .exe
file finishes downloading:
- Double-click to launch the installer.
- Check the box that says: ✅ Add Python 3.x to PATH
- Click “Customize Installation” (recommended) or proceed with “Install Now.”
Choosing Customize Installation lets you add pip, IDLE, and documentation – all useful tools for beginners.
⚡ Step 3: Set Up PATH and Environment Variables
If you forgot to check “Add Python to PATH”, you can manually do this:
- Open Start Menu → Environment Variables.
- Under System variables, find and select
Path
. - Click Edit → New and add:
C:\Users\<YourUsername>\AppData\Local\Programs\Python\Python3x\
(Replace 3x
with your Python version)
🧪 Step 4: Verify Python Installation
Now let’s check if Python and pip were installed correctly:
Open Command Prompt (cmd
) and type:
python --version
You should see something like:
Python 3.12.1
Then check pip:
pip --version
Success? You’re all set! 🎉
💡 Bonus: Install VS Code and Test a Python Script
- Install Visual Studio Code.
- Open a new file named
hello.py
. - Add the following code:
print("Hello, Python on Windows 11!")
- Run it in the terminal with:
python hello.py
📝 TL;DR
- ✅ Download Python from python.org
- ✅ Use the installer and check "Add to PATH"
- ✅ Verify via
python --version
in terminal - ✅ Optional: Install VS Code to write and run Python code
💬 Final Thoughts
Installing Python on Windows 11 is quick—but skipping small steps like setting PATH can cause big headaches later. Now that you’ve got it installed, you’re ready to explore Python’s true power—whether that’s scripting, web development, or automation.
What’s the first project you’re planning to build with Python?
Drop it in the comments 👇 or follow me for more beginner-friendly tech tutorials!
Top comments (2)
Thankyou this is helpful 🥰😍