Skip to content

Windows Support #6349

Closed
5 of 5 issues completed
Closed

Description

@SimplyDanny

SwiftLint doesn't support Windows officially yet. The first steps have been taken to make it at least buildable on Windows in #5030. But there's much more to do before one can announce "official support".

This ticket is supposed to be the main entry point to track the progress on the Windows front. Sub-issues will be attached to it as required.

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    enhancement
    integration
    on Nov 21, 2025
  2. linked a pull request that will close this issueWindows Port #5030on Nov 21, 2025
  3. removed a link to a pull requestWindows Port #5030on Nov 21, 2025
  4. SimplyDanny commented on Nov 21, 2025

    @SimplyDanny
    CollaboratorAuthor

    FYI: @compnerd, @roman-bcny

    Let me know if there's anything else you reckon needs to be addressed.

  5. added this to the 0.64.0 milestone on Jan 25, 2026
  6. roman-bcny commented on Feb 18, 2026

    @roman-bcny
    Contributor

    hey @SimplyDanny do we still have blockers to make this happen?

  7. SimplyDanny commented on Feb 18, 2026

    @SimplyDanny
    CollaboratorAuthor

    hey @SimplyDanny do we still have blockers to make this happen?

    From my point of view, everything's done. A pre-release is available. However, I didn't receive much feedback, which could either mean, folks didn't test it or everything works great. Apart from that, nothing is blocking a 0.64.0 release with official Windows support though.

  8. roman-bcny commented on Feb 19, 2026

    @roman-bcny
    Contributor

    Cool! I'm running some tests now and it seems consistent between Mac/Windows at least on a few files I tried. There might be something going on where x64 vs arm64 end up linting different sets of files despite given the same path in the command line, but I'm still double checking this.

  9. roman-bcny commented on Feb 19, 2026

    @roman-bcny
    Contributor

    So the x64 vs arm64 issue might be an unrelated issue + a difference in my local setup. When I give swiftlint a single file like swiftlint lint path/to/dir/file.swift it lints just that file, but when I give it a path to that dir like swiftlint lint path/to/dir/ it seems to be linting all swift files it can find, seemingly ignoring the path I provided. Or I'm missing something.

    But anyways I made a test of how we'd normally use this in our dev workflow, where I introduced a few different kind of lint issues in a few files - and got consistent findings and consistent behavior with --fix across Mac and Windows, when running with an explicit list of files as we do in our workflow. This should work for us!

  10. SimplyDanny commented on Mar 5, 2026

    @SimplyDanny
    CollaboratorAuthor

    So the x64 vs arm64 issue might be an unrelated issue + a difference in my local setup. When I give swiftlint a single file like swiftlint lint path/to/dir/file.swift it lints just that file, but when I give it a path to that dir like swiftlint lint path/to/dir/ it seems to be linting all swift files it can find, seemingly ignoring the path I provided. Or I'm missing something.

    This is an issue but a consistent one among all (even older) versions.

    We might have one more separate release for both versions (the pre-release and the official one) and afterwards merge them. There are also a few refactoring tasks (e.g., introducing Swift Testing) that are currently blocked because of the two development lines.

  11. roman-bcny commented on Mar 5, 2026

    @roman-bcny
    Contributor

    I think on our end we're currently only blocked by the lack of an official release, really looking forward to an official static exe - thank you!

  12. SimplyDanny commented on May 30, 2026

    @SimplyDanny
    CollaboratorAuthor

    Support for Windows is merged. It will be part of the upcoming 0.64.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementintegration

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions