pkg.soopen package index

brew / 順位 7543

xwin を Homebrew, Nix でインストール

xwin のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install xwin

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#xwin

nixpkgs package indexes · pkgs/by-name/xw/xwin/package.nix · ソース: api.github.com

概要

パッケージ概要

Microsoft CRT and Windows SDK headers and libraries loader

コマンドとエイリアス

  • xwin

履歴

プロジェクトの歴史と使われ方

xwin is a Rust utility for downloading, unpacking, pruning, and laying out Microsoft CRT and Windows SDK headers and libraries so Windows MSVC-targeted builds can run from non-Windows hosts with LLVM/clang tooling.

プロジェクトの歴史

Jake Shadle created the GitHub repository in August 2021 alongside a detailed post on cross-compiling Windows binaries from Linux. The blog explains the practical CI problem: producing `x86_64-pc-windows-msvc` outputs without running the whole Windows toolchain on Windows, while still using clang-cl and lld-link against Microsoft CRT and SDK files.

The README defines xwin's core job as creating CRT and SDK root directories with the includes and libraries needed by native cross-compiling toolchains, including symlinks to repair Windows SDK casing problems on case-sensitive filesystems. The CLI grew commands such as `download`, `unpack`, `splat`, and `minimize`.

Recent releases track changes in Microsoft's installer and manifest ecosystem: channel-name changes, MSI packages without cabinet references, TLS/certificate handling, HTTP retry behavior, and debug-runtime inclusion.

採用の歴史

xwin sits in the Rust cross-compilation niche: developers targeting `*-pc-windows-msvc` from Linux or macOS need Windows headers and libraries but often prefer cargo, clang-cl, lld-link, containers, and Linux CI. Packaging xwin in Homebrew, Nix, crates.io, and GitHub releases makes that workflow scriptable.

使われ方

The common flow is `xwin --accept-license splat --output /path/to/sysroot`, then pointing clang-cl, lld-link, Cargo, or build scripts at the produced CRT and SDK include/library directories. `download` and `unpack` expose intermediate steps, while `minimize` can trace a Cargo build and produce a reduced map of files actually used.

パッケージ好きにとっての重要性

xwin is significant because it turns proprietary-platform SDK acquisition into a reproducible package-style operation without redistributing Microsoft's files. It collapses a painful cross-compilation prerequisite into one auditable CLI.

It also captures a modern packaging pattern: acquiring upstream binary installer payloads, normalizing layout, fixing filesystem case mismatches, caching aggressively, and producing a sysroot other tools can consume.

タイムライン

  • 2021-08-04: GitHub repository created.
  • 2021-08-22: Shadle publishes the cross-compiling Windows binaries from Linux walkthrough describing the new utility and its CI motivation.
  • 2021: README-era workflow centers on downloading CRT/SDK payloads and `splat` output for clang/LLVM Windows cross builds.
  • 2024-2025: Releases focus on Microsoft installer churn, HTTP/TLS behavior, debug-runtime support, and SDK package layout changes.
  • 2026-04-20: 0.9.0 release fixes channel-name handling for newer Microsoft manifest versions.

Related projects

  • clang-cl, lld-link, and LLVM: the non-Windows toolchain xwin is designed to feed.
  • Rust target `x86_64-pc-windows-msvc`: a primary driver for xwin's documented workflow.
  • cargo and cc-rs: common Rust build tooling that consumes compiler/linker configuration pointing at xwin output.
  • winsysroot: a layout style xwin can generate for clang-cl-oriented SDK discovery.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
xwin実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版0.9.0
マネージャ更新日
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:xwin
バージョン0.9.0
パッケージマネージャHomebrew
ホームページhttps://github.com/Jake-Shadle/xwin
リポジトリhttps://github.com/Jake-Shadle/xwin
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

xwin

nix profile install nixpkgs#xwin
  • normalized package name match
  • 一致条件: Xwin
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xw/xwin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation