This guide assumes you already have Chocolatey installed on your Windows computer. If you haven't installed Chocolatey yet, please follow our Chocolatey Setup Guide first.
Installing Python with Chocolatey is much simpler than the standard installation method, and it automatically adds Python to your PATH!
In PowerShell, type this command and press Enter:
choco install python -y
The -y
flag automatically answers "yes" to any questions during installation.
Wait for the installation to complete. You'll see a message saying the installation was successful when it's done!
To make sure Python installed correctly, close your PowerShell window and open a new one (it doesn't need to be as administrator for this step). Then type:
python --version
If you see a version number (like "Python 3.11.4"), then Python installed successfully!
choco upgrade python -y
Now that you have Python installed, you can: