LinuxCommandLibrary

swift

swift

TLDR

Start a REPL (interactive shell)

$ swift
copy


Execute a program
$ swift [file.swift]
copy


Start a new project with the package manager
$ swift package init
copy


Generate an Xcode project file
$ swift package generate-xcodeproj
copy


Update dependencies
$ swift package update
copy


Compile project for release
$ swift build -c release
copy

Copied to clipboard