# kylef/swiftenv

Swift Version Manager

Repository: https://github.com/kylef/swiftenv
Canonical: https://ross.abutalabs.com/products/swiftenv
Homepage: https://swiftenv.fuller.li/
Language: Shell
License: BSD-2-Clause
License Family: permissive
Last push: 2024-12-23T12:19:32+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3914, "days_push": 618, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1989, forks 96 (observed 2026-08-28T04:06:03.028734+00:00)

## What it is
swiftenv is a Swift version manager inspired by pyenv that lets you install and switch between multiple Swift toolchains. It supports global, per-project, and environment-variable-based Swift version selection.

## Use cases
- install multiple swift versions
- switch swift version per project
- set a global swift version
- manage swift toolchains on linux
- pin swift version for ci builds
- override swift version via environment variable

## When to choose
- you work on multiple swift projects needing different toolchains
- you develop swift on linux or macos and want pyenv-like workflows
- you need reproducible swift versions in CI like Travis or Heroku

## When to avoid
- you only ever use one Swift version bundled with Xcode
- you need dependency management rather than toolchain management (use Swift Package Manager)
- you need managed Swift versions on Windows or other unsupported platforms

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools, version-control
- domain: developer-tools, programming-languages
- platform: cli
- tags: swift, version-manager, pyenv-inspired, shell, command-line, macos, linux

## Member repositories
- kylef/swiftenv (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:03.028734+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:02:49.700847+00:00, confidence not recorded.
  - readme: https://github.com/kylef/swiftenv (fetched 2026-08-28T04:06:03.028734+00:00, sha a909e85fb285)
- Data as of 2026-08-30T08:39:29.467469+00:00.
