swift
Create, run, and build Swift projects. More information: https://manned.org/swiftc.
- Start a REPL (interactive shell):
swift repl
- Execute a program:
swift
- Start a new project with the package manager:
swift package init
- Update dependencies:
swift package update
- Compile project for release:
swift build
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
