Launch as script ./client.swift Compile swiftc main.swift -o kraken or xcrun -sdk macosx swiftc client.swift -o client Launch compiled version ./client