Swift 6 · Tooling
Run a script file
Run a Swift source file without building a project.
swift script.swift
Official Swift 6 documentation
Swift 6 · Tooling
Run a Swift source file without building a project.
swift script.swift
Official Swift 6 documentation
Was this page helpful?