To install Python on Windows 11, get the Python Install Manager from the Microsoft Store or python.org/downloads. After it installs, open Terminal or Command Prompt and type python. If no version is installed yet, the manager downloads the latest stable Python for you, which is Python 3.15.0 (released October 9, 2026).
These steps cover Windows 11 on standard and ARM PCs, which don’t include Python. They also work on Windows 10, which Python 3.15 supports but Microsoft no longer updates.
The old full installer with “Add python.exe to PATH” is deprecated and won’t be made for Python 3.16.
Get Online for Python Downloads
- An internet connection: the manager downloads each Python version the first time you need it.
- Your own account: Python’s documentation says the Install Manager installs Python versions per user, so each Windows account on the PC sets up its own.
- S mode or app restrictions: if your PC is in S mode or set to allow only Store apps, use the Microsoft Store version. Here’s how app installation restrictions work in Windows.
- Work or school PCs: your IT team may block installs or provide its own Python. Ask them first.
How to Install Python on Windows 11

- Open the Microsoft Store, search for Python Install Manager, and select Get or Install. Or open the python.org Windows downloads page, select Download Python install manager, double-click the file, and select Install. Python’s documentation says the two versions are identical. The Install Manager is now on your PC.

- Open Terminal or Command Prompt. (If you haven’t used it before, here’s how to open Command Prompt in Windows 11.) A command window opens.
- Type python and press Enter. The first time, the manager downloads and installs the latest Python, then starts it. You see a line with the version number and a >>> prompt.
- If the manager asks whether to add its folder to your PATH, say yes if you want version commands like python3.15 to work everywhere. It is optional if you use py or python.

- Type exit() and press Enter to leave the Python prompt. Python is ready to use.
To run the manager’s optional configuration checker later and accept its suggested changes, use py install –configure -y. After installing, the python, py, and pymanager commands should all work.
If the PC is in S mode and you need the python.org installer, here is how to exit S mode in Windows 11 first.
Prefer the Command Line?
Python’s documentation gives a winget command that installs the Install Manager itself. Open PowerShell or Terminal and run winget install 9NQ7512CXL7T -e --accept-package-agreements --disable-interactivity, then run py install --configure -y to finish setup.
Microsoft’s Python setup guide uses a different winget command, winget install Python.Python.3.14, which installs one specific version as a regular app instead of through the manager. Close and reopen PowerShell afterward and check it with python --version.
If that PowerShell window turns out to be an older version, you can update PowerShell on Windows 11 with a similar winget command.
Check That It Works
- python –version prints the version that the python command runs, such as Python 3.15.0.
- python starts the Python prompt. Type exit() to leave.
- py list shows the versions you have installed and which one is the default.
- python my-script.py runs a script from the current folder. JavaScript projects use a different runtime, and the setup is covered in installing Node.js on Windows 11.

python --version and py list to check the installed runtime. Your version can differ. (Recreated interface)Which Python Version Should You Use?
For learning and new projects, the newest release is the right choice. A brand-new release can take a few weeks before every third-party package supports it. If a package fails to install on 3.15, or your course or job names a version, install that version next to it (see below). You do not need to remove the newer one. XAMPP for Windows also bundles a specific PHP version, so installing XAMPP on Windows 11 starts with picking the build your project needs.
Use the Full Installer Only If You Need It
Some tutorials and older tools still expect the classic installer. It is deprecated, so use it only when something requires it.
- On python.org, open the release page for the version you need and download Windows installer (64-bit). ARM-based PCs use Windows installer (ARM64).
- Double-click the file. On the first screen, check Add python.exe to PATH.

- Select Install Now and approve the permission prompt if one appears.
- If the last screen offers Disable path length limit, select it, then select Close.
- Open a new Command Prompt and run python –version to confirm.
Do not mix this installer with the Install Manager for the same version, because the two can compete for the python and py commands.
Open IDLE, Python’s Built-In Editor
IDLE is Python’s editor and interactive shell, and it comes with the full Python runtime. See the official IDLE guide for more.
- In Command Prompt, run
python -m idlelib. The IDLE Shell window opens. - Type
print("Hello")and press Enter to test it.

print("Hello") at the IDLE Shell prompt and press Enter. Startup details are outside the excerpt and colors can vary with the theme. (Recreated interface)- To write a script, choose File > New File, type your code, and save it with a .py extension.
- Select Run > Run Module to run the script.
For bigger projects, many people use Visual Studio Code with Microsoft’s Python extension, which Microsoft’s setup guide walks through. Many coding courses also expect Git for version control, and installing Git on Windows 11 takes one installer or one winget command.
Install or Repair pip
Python from python.org and the Install Manager includes pip, the tool that installs packages. If pip is missing or broken, use these supported pip installation methods:
- In Command Prompt, run
python -m pip --version. If it shows a version and a Python path, pip is installed. - If pip is missing, run
python -m ensurepip --upgrade. - Upgrade it with
python -m pip install --upgrade pip. - Run
python -m pip --versionagain to confirm.
If pip alone says it is not recognized but python -m pip works, run py install --refresh and make sure the manager’s folder is on your PATH. If ensurepip doesn’t work, download get-pip.py from the official link in the pip documentation. Open Command Prompt in the folder where you saved it (for example, cd /d "%USERPROFILE%\Downloads") and run python get-pip.py. Inside a virtual environment, use that environment’s Python instead.
Install Another Version

The Python docs recommend the py command when you have more than one version. Use py install 3.14 (or another version number) to add a version, then start it with py -V:3.14. Run py list –online to see which versions you can install. The Install Manager updates itself automatically, but that does not change the Python versions you have installed.
Use a Virtual Environment for Projects
- In your project folder, run python -m venv .venv. A .venv folder is created.
- Activate it with .venv\Scripts\activate. Your prompt shows the environment name.

(.venv) prefix shows that the virtual environment is active. It does not show PowerShell. (Recreated interface)- Install packages with pip install while it is active. Packages stay inside that project.
- Type deactivate when you are done.
If PowerShell says running scripts is disabled, activate the environment from Command Prompt instead, where the command is .venv\Scripts\activate.bat. Python’s venv documentation also describes the PowerShell execution policy setting that allows Activate.ps1 for your account. The Python docs recommend a virtual environment for each project so packages do not clash. To use Python for browser-based notebooks, here’s how to install Jupyter Notebook on Windows 11.
Add Python to PATH Later
The Install Manager puts its commands in %LocalAppData%\Python\bin by default. To add that folder yourself:
- Search Start for Edit environment variables for your account.
- Select Path under User variables, then choose Edit > New.
- Paste the folder path.

%LocalAppData%\Python\bin location instead. (Recreated interface)- Close and reopen Command Prompt, then run where python to see which installation runs.
If you used the older full installer instead, add the folder that contains python.exe and its Scripts subfolder as two separate entries. Here are other ways of opening environment variables in Windows 11.
If the python Command Does Not Work
- It opens the Microsoft Store or says command not found: click Start, open Manage app execution aliases, and make sure the aliases for Python (default) are on. If App Installer entries for python.exe and python3.exe are also on, turn those off. If the right aliases already are on, turn them off and on again.

- Check py and pymanager: if those work, the problem is the python alias or your PATH.
- py says it can’t open a file: an older Python launcher is installed and takes priority. Uninstall Python launcher from Settings > Apps > Installed apps.
- A package’s command is not found after pip install: run py install –refresh, then open a new window.
- python and py run different versions: run py list to see the default, then remove versions you no longer need.
- Older installs: if you installed Python before, or changed your PATH, you may need to remove the old version or undo those changes.
How to Uninstall Python
Before you remove Python, note which projects or virtual environments need that version. For versions installed with the Python Install Manager:
- Run
py listto see the installed versions and their tags. - Run
py uninstall 3.15, replacing 3.15 with the tag you want to remove, and confirm. - Run
py listagain to check that it’s gone.
For a version installed with the older full installer, open Settings > Apps > Installed apps, find the Python version, select the three dots next to it, and choose Uninstall. Uninstalling the Install Manager app alone leaves its Python versions installed, as Python’s Windows documentation notes. To remove every managed version, run py uninstall --purge before you remove the app.
Python Install Questions
Is Python free?
Yes. Python and the Install Manager are free from python.org and the Microsoft Store.
Should I use python or py?
The docs recommend python for everyday use and py when you need to pick a specific version or manage installs.
What if a package install fails because a path is too long?
Windows limits most file paths to 260 characters unless long paths are turned on. Python’s Windows documentation explains how: turn on the Enable Win32 long paths group policy, or set the LongPathsEnabled registry value to 1, then restart. Both need administrator rights.
Does uninstalling the Install Manager remove Python?
No. The Python docs say uninstalling the Install Manager does not uninstall the Python versions it installed.
Will Python work on an ARM-based Windows 11 PC?
Yes. python.org publishes ARM64 builds of Python 3.15, including an ARM64 full installer.
If your class still uses an older C++ compiler, here’s how to run Turbo C++ on Windows 11 with DOSBox.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.