InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Swift CLI Projects
-
(not the one you asked, but can chime in with some info)
This was a long time ago, but the way I did it was to use XcodeGen (1) and a simple Makefile. I have an example repo here (2) but it was before Swift Package Manager (using Carthage instead). If I remember correctly XcodeGen has support for Swift Package Manager now.
On top of that I was coding in VS Code at the time, and just ran `make run` in the terminal pane when I wanted to run the app.
Now, with SwiftUI, I'm not sure how it would be to not use Xcode. But personally, I've never really vibed with Xcode, and very much prefer using Zed...
1: https://github.com/yonaskolb/XcodeGen
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Ha, nice! I've used the Swift shebang before, but honestly once you have something that works as a "script," it's so easy to convert it to a real command line utility via Swift Argument Parser [0] that I usually spend the 5 minutes to wrap it up.
[0]: https://github.com/apple/swift-argument-parser
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Reminders-CLI: A simple CLI for interacting with macOS reminders | news.ycombinator.com | 2024-10-30
-
-
-
-
-
SwiftPlantUML
A command-line tool and Swift Package for generating class diagrams powered by PlantUML
-
Surmagic
🚀 Create XCFramework with ease! Surmagic is a command-line tool to create XCFramework for multiple platforms at one shot! You don't need to waste your time with command-line scripts when you want to create an XCFramework! Surmagic adds an elegant layer between you and the compiler, for your comfort. You can use Surmagic with your current CI/CD pipeline, or as a standalone tool in your toolbox. The better way to deal with XCFrameworks for iOS, iPadOS, Mac Catalyst, tvOS, macOS, and watchOS.
-
-
Project mention: Show HN: ProgressLine – Track commands progress in a compact one-line format | news.ycombinator.com | 2024-07-18
-
appstoreconnect-cli
An easy to use command-line tool for interacting with the Apple AppStore Connect API
-
-
Project mention: Streamline Your Project Workflow Using Swift with Sake: A Practical Guide | dev.to | 2024-10-14
For more information, check out the official Sake documentation and explore commands applied to Sake project itself.
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Swift CLI discussion
Swift CLI related posts
-
Reminders-CLI: A simple CLI for interacting with macOS reminders
-
Anyones macbook also run hotter than their gaming laptop. What temp does the cpu start to throttle? Slow speeds
-
Idea for small project? (without touching any UI)
-
Options array in Swift?
-
The saddest “just ship it” story ever
-
Discord full release is FINALLY optimized for Apple Silicon!
-
SIM Card Based Mobile Authentication with iOS
-
A note from our sponsor - InfluxDB
www.influxdata.com | 14 May 2025
Index
What are some of the best open-source CLI projects in Swift? This list will help you:
# | Project | Stars |
---|---|---|
1 | XcodeGen | 7,338 |
2 | Swift Argument Parser | 3,462 |
3 | LicensePlist | 2,465 |
4 | multi | 1,346 |
5 | Swiftline | 1,201 |
6 | SwiftCLI | 869 |
7 | vmcli | 827 |
8 | reminders-cli | 762 |
9 | dark-mode | 666 |
10 | LibTerm | 658 |
11 | macos-wallpaper | 657 |
12 | SwagGen | 628 |
13 | SwiftPlantUML | 610 |
14 | Surmagic | 313 |
15 | airdrop-cli | 216 |
16 | ProgressLine | 191 |
17 | appstoreconnect-cli | 177 |
18 | swift-mod | 108 |
19 | Sake | 88 |
20 | loco | 73 |
21 | airport-bssid | 64 |
22 | Crayon | 59 |
23 | MarkersExtractor | 42 |