

winget installed (it comes with Windows 11 and modern versions of Windows 10, if not, check this out: https://learn.microsoft.com/en-us/windows/package-manager/winget/)
For PowerShell:
# Install dependencies
winget install Golang.Go WinFsp.WinFsp
# After installing, restart PowerShell so that the environment variables are updated
# Download source code
git clone https://github.com/tomekit/rclone.git
cd rclone
git checkout v1.71.0-with-v2-cipher
# Build rclone
go run bin/resource_windows.go -version v1.71.0-with-v2-cipher -syso resource_windows_`go env GOARCH`.syso
$env:CPATH = "C:\Program Files (x86)\WinFsp\inc\fuse"
go build -v --ldflags "-s -X github.com/rclone/rclone/fs.Version=v1.71.0-with-v2-cipher" -tags "cmount" -buildmode exe
On Command Prompt:
# Install dependencies
winget install Golang.Go WinFsp.WinFsp
# After installing, restart Command Prompt so that the environment variables are updated
# Download source code
git clone https://github.com/tomekit/rclone.git
cd rclone
git checkout v1.71.0-with-v2-cipher
# Build rclone
go run bin/resource_windows.go -version v1.71.0-with-v2-cipher -syso resource_windows_`go env GOARCH`.syso
SET CPATH=C:\Program Files (x86)\WinFsp\inc\fuse
go build -v --ldflags "-s -X github.com/rclone/rclone/fs.Version=v1.71.0-with-v2-cipher" -tags "cmount" -buildmode exe

winget installed (it comes with Windows 11 and modern versions of Windows 10, if not, check this out: https://learn.microsoft.com/en-us/windows/package-manager/winget/)
For PowerShell:
# Install dependencies
winget install Golang.Go WinFsp.WinFsp
# After installing, restart PowerShell so that the environment variables are updated
# Download source code
git clone https://github.com/tomekit/rclone.git
cd rclone
git checkout v1.71.0-with-v2-cipher
# Build rclone
go run bin/resource_windows.go -version v1.71.0-with-v2-cipher -syso resource_windows_`go env GOARCH`.syso
$env:CPATH = "C:\Program Files (x86)\WinFsp\inc\fuse"
go build -v --ldflags "-s -X github.com/rclone/rclone/fs.Version=v1.71.0-with-v2-cipher" -tags "cmount" -buildmode exe
On Command Prompt:
# Install dependencies
winget install Golang.Go WinFsp.WinFsp
# After installing, restart Command Prompt so that the environment variables are updated
# Download source code
git clone https://github.com/tomekit/rclone.git
cd rclone
git checkout v1.71.0-with-v2-cipher
# Build rclone
go run bin/resource_windows.go -version v1.71.0-with-v2-cipher -syso resource_windows_`go env GOARCH`.syso
SET CPATH=C:\Program Files (x86)\WinFsp\inc\fuse
go build -v --ldflags "-s -X github.com/rclone/rclone/fs.Version=v1.71.0-with-v2-cipher" -tags "cmount" -buildmode exe winget install Golang.Go WinFsp.WinFsp
step for Windows
CPATH environment variable!