swift Command Examples

Create, run and build Swift projects. More information: https://swift.org.

swift repl

swift {{file.swift}}

swift package init

swift package generate-xcodeproj

swift package update

swift build -c release