Skip to content

Glossary: Swift Basics

swift run

Also written: swift build, swift package init

Package commands: `swift package init` creates a package, `swift build` compiles it and `swift run` compiles and runs it. Run them from the package folder.

Where the book teaches it

Related terms

packagetarget