<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t" -->

---
title: Our Swift CLI now runs on Linux | daily.dev
description: Tuist&#x27;s Swift CLI now runs on Linux, expanding beyond its macOS-only origins. The move supports upcoming Gradle/Android integration, cheaper analytical...
canonical: https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Our Swift CLI now runs on Linux | daily.dev
og:description: Tuist&#x27;s Swift CLI now runs on Linux, expanding beyond its macOS-only origins. The move supports upcoming Gradle/Android integration, cheaper analytical...
og:url: https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t
og:image: https://api.daily.dev/og/posts/aYIFpql7T.png
og:image:alt: Our Swift CLI now runs on Linux
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Our Swift CLI now runs on Linux

**[
      Tuist
    ](https://daily.dev/sources/tuist-blog)** · 5 min read · 0 upvotes · 0 comments

## Summary

Tuist's Swift CLI now runs on Linux, expanding beyond its macOS-only origins. The move supports upcoming Gradle/Android integration, cheaper analytical workflows on Linux CI machines, and AI agent environments that default to Linux. Commands requiring Xcode remain macOS-only, while server-talking and project-setup commands work on Linux. The team achieved this through modularizing monolithic Swift modules, adopting Swift's Static Linux SDK with musl libc for fully static binaries, and updating mise/aqua-registry for distribution. Windows support is planned but blocked by swift-nio dependency limitations.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://tuist.dev/blog/2026/02/16/linux>

## Questions this post answers

### How do I build a Swift CLI as a fully static binary for Linux?

Use Swift's Static Linux SDK, which cross-compiles against musl libc to produce a fully static binary with no shared library dependencies. Install it with 'swift sdk install' pointing to the static-sdk artifact bundle for your Swift version, then build with 'swift build --swift-sdk x86_64-swift-linux-musl'. The resulting binary runs on Ubuntu, Fedora, Alpine, or any distro without needing Swift installed.

_Developers targeting portable Swift binaries on Linux can find the workflow context on daily.dev._

### Does Tuist CLI run on Linux now?

Yes, the Tuist CLI runs on Linux, though not every command is supported. Commands requiring Xcode, like 'tuist generate' or 'tuist xcodebuild', remain macOS-only, while authentication, account and project management, analytical commands, cache configuration, and 'tuist init' work on Linux. It installs via the same 'mise use -g tuist' command used on macOS.

_Teams evaluating cross-platform build tooling like Tuist can track these platform updates on daily.dev._

### Why would a Swift CLI need to support Linux instead of just macOS?

Supporting Linux matters for Gradle-based Android builds that commonly run on cheaper Linux CI machines, for analytical workflows that only talk to a server and don't need Xcode, and for AI coding agents running in cloud environments that default to Linux rather than requiring a macOS VM. Restricting a CLI to macOS excludes these increasingly common use cases.

_Engineers weighing platform coverage for their tooling can follow this reasoning via daily.dev._

## Similar posts on daily.dev

- [Swift on Windows: A year of refinement](https://daily.dev/posts/swift-on-windows-a-year-of-refinement-e5m07ci7s) · Speaking in Swift · 0 upvotes · 0 comments
- [Swift Officially Releases Android SDK -- Fatbobman's Swift Weekly \#108](https://daily.dev/posts/swift-officially-releases-android-sdk----fatbobman-s-swift-weekly-108-whigyvtbq) · Fatbobman · 0 upvotes · 0 comments
- [Swift 6.4 Released](https://daily.dev/posts/swift-6-4-released-tm86auvxn) · Swift.org · 3 upvotes · 0 comments
- [The new Tuist, from build toolchains to bare metal](https://daily.dev/posts/the-new-tuist-from-build-toolchains-to-bare-metal-waw3c6jvd) · 
      Tuist
     · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#cicd](https://daily.dev/tags/cicd), [#swift](https://daily.dev/tags/swift)

[View this post on daily.dev](https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Our Swift CLI now runs on Linux","url":"https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t"},"datePublished":"2026-08-23T12:23:39.155Z","dateModified":"2026-08-23T12:51:29.989Z","description":"Tuist's Swift CLI now runs on Linux, expanding beyond its macOS-only origins. The move supports upcoming Gradle/Android integration, cheaper analytical...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6f952655d7e2b13b69661a96f238b339?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6f952655d7e2b13b69661a96f238b339?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"\n      Tuist\n    ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"\n      Tuist\n    ","logo":"https://media.daily.dev/image/upload/s--3AYDH23h--/f_auto,q_auto/v1787487506/logos/tuist-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/tuist-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,cicd,swift","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"\n      Tuist\n    ","item":"https://daily.dev/sources/tuist-blog"},{"@type":"ListItem","position":3,"name":"Our Swift CLI now runs on Linux"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/our-swift-cli-now-runs-on-linux-ayifpql7t#faq","mainEntity":[{"@type":"Question","name":"How do I build a Swift CLI as a fully static binary for Linux?","acceptedAnswer":{"@type":"Answer","text":"Use Swift's Static Linux SDK, which cross-compiles against musl libc to produce a fully static binary with no shared library dependencies. Install it with 'swift sdk install' pointing to the static-sdk artifact bundle for your Swift version, then build with 'swift build --swift-sdk x86_64-swift-linux-musl'. The resulting binary runs on Ubuntu, Fedora, Alpine, or any distro without needing Swift installed. Developers targeting portable Swift binaries on Linux can find the workflow context on daily.dev."}},{"@type":"Question","name":"Does Tuist CLI run on Linux now?","acceptedAnswer":{"@type":"Answer","text":"Yes, the Tuist CLI runs on Linux, though not every command is supported. Commands requiring Xcode, like 'tuist generate' or 'tuist xcodebuild', remain macOS-only, while authentication, account and project management, analytical commands, cache configuration, and 'tuist init' work on Linux. It installs via the same 'mise use -g tuist' command used on macOS. Teams evaluating cross-platform build tooling like Tuist can track these platform updates on daily.dev."}},{"@type":"Question","name":"Why would a Swift CLI need to support Linux instead of just macOS?","acceptedAnswer":{"@type":"Answer","text":"Supporting Linux matters for Gradle-based Android builds that commonly run on cheaper Linux CI machines, for analytical workflows that only talk to a server and don't need Xcode, and for AI coding agents running in cloud environments that default to Linux rather than requiring a macOS VM. Restricting a CLI to macOS excludes these increasingly common use cases. Engineers weighing platform coverage for their tooling can follow this reasoning via daily.dev."}}]}
```

