Assets 3

System Requirement

Install

Download swift-msvc-20160515-bin.7z.
Copy directory Swift in archive to C:/Program Files.
Add path environment for binary and dynamic library.
set PATH=%PATH%;c:/Program Files/Swift/bin;c:/Program Files/Swift/lib/swift/windows

Run

You can run in immediate mode.
ex) swift Hello.swift

You can compile and run with dynamic library
ex)

  Compile
    swiftc Hello.swift

  Run
    Hello.exe

You can compile and run with static library.
ex)

  Compile
    swiftc -static-stdlib Hello.swift

  Run
    Hello.exe

Notice

Source: https://github.com/tinysun212/swift-windows/releases/tag/swift-msvc-20160515
(based on: https://github.com/apple/swift/releases/tag/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a)