command "winget install Python.Python.3 --version 3.10.2150.0"
returns:
No package found matching input criteria.
Update the command has been deprecated, the current working command is:
"winget install --id=Python.Python.3.10 -e"
svanimpe
(Steven Van Impe)
October 24, 2022, 11:12am
3
Yeah the commands on Windows tend to change. I maintain the following installation guide for my students:
# Windows 10 / 11
The following instructions will help you get started with Swift on Windows.
## Prerequisites
Before you install Swift, first enable **developer mode**. This is required for the Swift Package Manager to work properly.
On Windows 10, open the **Start** menu and navigate to **Settings ▸ Update & Security ▸ For developers**. Here, you can enable developer mode:

On Windows 11, you can find this setting under **Settings ▸ Privacy & security ▸ For developers**:

Next, install or update **App Installer** from the Microsoft Store:

This file has been truncated. show original
mherrmann
(Michael Herrmann)
August 5, 2023, 9:30am
4
winget install -e --id Python.Python.<version>
is the correct command. You can see the available versions with winget search --id Python.Python
. For more information, see for example here .