Should have a functioning Rust install already through rustup
. This means the Visual Studio 2019 build tools also need to be installed.
With winget installed do:
$ winget install python
$ winget install cmake
Add the following to your PATH
env var:
C:\Program Files\CMake\bin
Reboot your computer.
$ git clone https://github.com/rust-lang/rust
$ cd rust
$ py .\x.py check
How to set a path in Windows 10: