Download the .swift
file from this repository, and install Swift for Windows.
You can then compile and run your downloaded .swift
file.
Install the official swift compiler: swift.org.
Set-Up a coding enviroment (you can use this tutorial)
Next you can open the .swift file in your editor of choice and compile the code.