Rewrite your scripts in Swift


macOS Xcode Swift Version SwiftPM compatible Plaform License MIT

What is ScriptKit?

ScriptKit is a framework to write command line tools. This framework provides a context that reproduces the basic instructions we have in a script language like Bash, Python or Ruby. It allows a quick portage of existing script to swift.

Do I have to be a Swift Guru?

No 😁. ScriptKit has been designed to be as simple as possible. You can see ScriptKit as a container that give you access to list of basic instructions.

What is the advantage of using ScriptKit?

ScriptKit allows to create a real executable that will be much faster than a script in Bash, Python or Ruby. With ScriptKit you generated an executable with no dependencies. It is therefore very easy to install and you don't need to manage an environment like for Python or Ruby.

If you are an iOS or macOS developer you will no longer need to juggle with different languages. You can use Xcode to develop and debug your command line tools, your iOS app or macOS app. You will stay focus on Swift and spend your time improving your skills in Swift.


Your first command line tool

1. Install XcodeTool

2. To generate your first command line tool project:


XcodeTool will generate this project for you:


3. Open your first command line tool with Xcode



  • Swift Tools 5.5.0
View More Packages from this Author


  • None
Last updated: Fri Mar 17 2023 15:48:46 GMT-0500 (GMT-05:00)