How to run in Windows 10 Subsystem for Linux - Azure/autorest.swift GitHub Wiki
-
Install the Windows Subsystem for Linux https://docs.microsoft.com/en-us/windows/wsl/install-win10
-
Download swift Toolchain from https://swift.org/download/#releases for the WSL installed in Step #1
-
Unzip the toolchain from Step #2 and add to the path of WSL
$ export PATH=/path/to/Swift/usr/bin:"${PATH}" -
Install swift dependencies by following https://swift.org/getting-started/#installing-swift
-
Clone autorest.swift repo to WSL
-
Build autorest.swift
$ swift build -
Run autorest.swift
$ swift run AutorestSwift