apt-cyg

Warning

apt-cyg is unmaintained. The author stopped maintaining apt-cyg in 2017, stating ‘I am no longer working on apt-cyg’ and directing users to fork it instead.

ID

apt-cyg

Link

Repository

Upstream stars

⭐ 3,017

Last commit

2017-01-28

Platforms

⨂ Unix (Cygwin only)

Operations

installed · search · install · remove · sync

purl types

pkg:apt-cyg/

CLI name

apt-cyg

Issues and PRs

📦 manager: apt-cyg

Source

apt_cyg.toml

apt-cyg is a single bash script wrapping Cygwin’s package repository.

Cygwin has no root/sudo concept: every operation runs as the invoking user.

What mpm adds to apt-cyg

Through mpm, apt-cyg gains --exact and --extended search, to narrow to exact names or match descriptions.

Bigger still, mpm reaches across every manager at once: mpm installed and mpm outdated cover apt-cyg alongside every other manager you run in one table, mpm upgrade --all updates them together, and mpm sbom exports the whole machine as one bill of materials.

Every mpm command also gains --dry-run and --plan previews, cross-scheme version comparison and purl identifiers. See manager augmentations for how each one is built.

Your apt-cyg commands, in mpm

You already know apt-cyg: each operation maps one-to-one onto mpm, in an interface shared by every manager.

To…

With apt-cyg

With mpm

List what’s installed

apt-cyg list

mpm --apt-cyg installed

Search for a package

apt-cyg listall <query>

mpm --apt-cyg search <query>

Install a package

apt-cyg install <package_id>

mpm install pkg:apt-cyg/<package_id>

Remove a package

apt-cyg remove <package_id>

mpm remove pkg:apt-cyg/<package_id>

Prefix any command above with --dry-run to simulate the underlying manager calls without touching the system: the safe way to watch what mpm would do before trusting it.

Operations

Operation

Supported

Notes

installed

✅

Listings carry bare package names, with no version.

outdated

❌

No command lists available upgrades.

orphans

search

✅

Results carry no version or description. Exact and extended search backfilled by mpm.

install

✅

upgrade

❌

No upgrade command: Cygwin packages are upgraded by re-running the setup program.

upgrade_all

❌

No upgrade command: re-run Cygwin’s setup program to upgrade packages.

remove

✅

sync

✅

cleanup

❌

No cache or cleanup command at all.

doctor

Configuration

  • Ignore apt-cyg on the mpm CLI by passing the --no-apt-cyg option.

  • Ignore it for every run in your configuration:

    [mpm]
    apt-cyg = false
    
  • Raise the timeout of all apt-cyg calls:

    [mpm.overrides.apt-cyg]
    timeout = 900
    
  • Run mpm config-template apt-cyg to print all overridable settings for your configuration file:

    [mpm.overrides.apt-cyg]
    cli_names = [
        "apt-cyg",
    ]
    cli_search_path = []
    dry_run = false
    ignore_auto_updates = true
    plan = false
    post_args = []
    pre_args = []
    pre_cmds = []
    stop_on_error = false
    unmaintained = true
    version_cli_options = [
        "--version",
    ]
    version_regexes = [
        "apt-cyg version (?P<version>\\S+)",
    ]
    

Recipes

A few jobs you would otherwise script around apt-cyg, one mpm command each:

  • Snapshot and clone a machine: mpm --apt-cyg dump apt-cyg.toml, then mpm restore apt-cyg.toml on the next one.

  • Export a compliance SBOM: mpm --apt-cyg sbom (CycloneDX by default, --spdx for SPDX).

Privilege escalation

mpm runs this manager as the current user and never prepends sudo by default. Flip the policy for its privileged operations with --sudo or the per-manager sudo override.

None of its operations is privileged.

See privilege escalation for the full policy.

Cooldown

State of apt-cyg’s release-age gating, from the cooldown support table:

  • Status: ➖ N/A (unmaintained since 2017; wraps Cygwin’s setup.exe repository)

  • Reference: transcode-open/apt-cyg

A cooldown only pays off where a compromised release can be withdrawn while the clock runs, and can only be emulated where the registry dates its releases. From the retraction table:

  • Registry: No registry of their own

  • Retraction: ➖ Not applicable: these managers either delegate to whichever manager they front (pkcon, topgrade) or wrap a retired project or a discontinued platform

With --cooldown set, mpm skips this manager’s install and upgrade operations rather than run them unguarded (fail-closed); --cooldown best-effort opts back in.

Reference traces

A collection of raw native outputs captured from the manager’s own CLI and recorded in the bundled definition. If you know apt-cyg well and a transcript below looks wrong, or a newer release changed its output format, report it.

$ apt-cyg list
bash
coreutils
tree
$ apt-cyg listall {query}
tree

Version check

The version is probed by running:

$ apt-cyg --version
apt-cyg version 1

and extracted with:

r"apt-cyg version (?P<version>\S+)"

Upstream project

Metrics

transcode-open/apt-cyg

Activity

commit activity open issues open pull requests

Popularity

forks watchers contributors

Metadata

latest tag license main language

Changelog

  • 7.2.0 (2026-07-09)

    • Add apt-cyg (Cygwin) package manager with installed, search, install, remove and sync support on Windows/Cygwin; a bundled configuration-defined manager.