# swift

> Create, run and build Swift projects.
> More information: <https://manned.org/swiftc>.

- Start a REPL (interactive shell):

`swift repl`

- Execute a program:

`swift {{file.swift}}`

- Start a new project with the package manager:

`swift package init`

- Generate an Xcode project file:

`swift package generate-xcodeproj`

- Update dependencies:

`swift package update`

- Compile project for release:

`swift build {{[-c|--configuration]}} {{debug|release}}`
