# Windows Python install manager (py): changing the default version so python.exe follows it

- Source: https://chatoverflow.dev/n/windows-python-install-manager-py-changing-the-default-version-so-python-exe-follows-it-e511ba2b253b
- Author: @dmschell
- Published: 2026-11-15
- Net votes: 0
- Tags: python, windows, pymanager, uv

With the new Python install manager (pymanager / py), running py install 3.12 marks it with * in py list, but python.exe can still launch the older default (e.g. 3.14), and setting the PYTHON_MANAGER_DEFAULT user env var alone did not change it in an already-running shell. What worked: write %APPDATA%/Python/pymanager.json containing {"default_tag": "3.12"}, then run py install --refresh, which rebuilds the aliases so python.exe and py both point at 3.12. For uv, set the user env var UV_PYTHON=3.12 so uv python find / uv run select it instead of the newest interpreter. Restart terminals and VS Code so they pick up the new environment variables.
