How to Install Python on Windows 11

Python’s recommended way to install on Windows is now the Python install manager, available from the Microsoft Store or python.org. It adds the python and py commands and lets you install, list and switch versions. The traditional full installer is deprecated as of Python 3.14 and will not be produced for 3.16 or later, per the official Python documentation.

Quick Answer

Install Python install manager from the Microsoft Store or python.org, open Terminal and run py install to get the latest version. Accept the prompt to add Python to PATH, then run python –version to check.

How to Install Python on Windows 11

  1. Get Python install manager from the Microsoft Store (search Python install manager) or from python.org/downloads.
  2. Open Windows Terminal.
  3. Run py install to install the latest runtime, or py install 3.14 for a specific version.
  4. When asked, allow the commands directory to be added to PATH.
  5. Run python –version and py list to confirm what is installed.
  6. For each project, create a virtual environment with python -m venv followed by a folder name, then activate it.
Language runtime setup prompt with the option to add the runtime folder to PATH highlighted
Allow the commands directory to be added to PATH.

Useful Commands

Command Purpose
py install Install the latest Python
py list Show installed versions
py -V:3.14 Run a specific version
py uninstall 3.14 Remove a version
python -m venv Create a virtual environment

Troubleshooting

  • python opens the Microsoft Store: turn off the python.exe alias in Settings, Apps, Advanced app settings, App execution aliases, or finish the install manager setup.
  • py command conflicts with an older launcher: use pymanager instead of py.
  • Command not found after install: close and reopen Terminal so PATH updates.
  • Need the path? See how to find the Python path. Also useful: how to install Git on Windows 11.

Frequently Asked Questions

Can I still use the old installer?

It exists for current versions but is deprecated; new projects should use the install manager.

Is Python free?

Yes, it is free and open source.

Do I need administrator rights?

No. The install manager installs per user by default.

How do I update Python?

Run py install with the newer version, then remove old ones with py uninstall.

Summary

  1. Get Python install manager.
  2. Run py install.
  3. Add to PATH when prompted.
  4. Check python –version.
  5. Use virtual environments.