# zero-install を Homebrew, winget, chocolatey, apt, dnf でインストール

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

## インストール

```sh
sudo av install brew:zero-install
```

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

### macOS

- Homebrew (100%):

```sh
brew install zero-install
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install 0install
```

  証拠: Debian stable package indexes: 0install from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ocaml-0install-solver
```

  証拠: Fedora Rawhide package metadata: ocaml-0install-solver from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id ZeroInstall.ZeroInstall -e
```

  証拠: Windows Package Manager source index: ZeroInstall.ZeroInstall from https://cdn.winget.microsoft.com/cache/source.msix

- Chocolatey (92%):

```sh
choco install 0install
```

  証拠: Chocolatey community package catalog: 0install from https://community.chocolatey.org/api/v2/Packages()?$filter=IsLatestVersion&$select=Id&$top=1000

## パッケージ情報

- **パッケージキー:** brew:zero-install
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/zero-install>
- **バージョン:** 2.18
- **ソース概要:** Decentralised cross-platform software installation system
- **ホームページ:** <https://0install.net/>
- **リポジトリ:** <https://github.com/0install/0install>
- **上流ドキュメント:** <https://docs.0install.net/>
- **ライセンス:** LGPL-2.1-or-later
- **ソースアーカイブ:** <https://github.com/0install/0install/releases/download/v2.18/0install-2.18.tbz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- 0alias (cli)
- 0desktop (cli)
- 0install (cli)
- 0launch (cli)
- 0store (cli)
- 0store-secure-add (cli)
- 0alias (エイリアス)
- 0desktop (エイリアス)
- 0install (エイリアス)
- 0launch (エイリアス)
- 0store (エイリアス)
- 0store-secure-add (エイリアス)

## 依存関係

- gnupg

## ビルド依存関係

- ocaml
- opam
- pkgconf

## macOS 提供ライブラリ

- curl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 2.18
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/0install/0install
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Zero Install is a decentralized, cross-platform software installation system that lets upstream developers publish programs from their own websites while users keep dependency solving, updates, signatures, rollbacks, and native package-manager integration.

### プロジェクトの歴史

Thomas Leonard traces Zero Install's goal back to 2003: secure, cross-platform, decentralized software installation. The earliest implementation was written in C as a Linux kernel module plus user-space helper, but that made Zero Install itself hard to distribute. In 2005 it was redesigned and reimplemented in Python to make bootstrapping easier.

The system's model deliberately complements rather than replaces the operating system package manager. The official docs say 0install packages do not interfere with distribution packages, and that developers publish XML metadata pointing at ordinary tarballs or zip files rather than inventing a new archive format.

The 1.0 release was made on May 23, 2011, and the 2.0 release followed on March 5, 2013. The 2.0 announcement emphasized backwards compatibility with 1.0 feeds while adding more expressive dependencies, native package integration for systems including Arch, Cygwin, Darwin, Fink, and MacPorts, an apps system for rollback, better diagnostics, shell completion, and improved headless support.

In 2013 Leonard migrated the core from Python to OCaml, finishing a 29,215-line port intended to preserve behavior while gaining static typing and faster startup. His 2014 retrospective reports similar code size, around 10x faster operations in simple benchmarks, and improved type-checking reliability.

### 採用の歴史

Zero Install has always been adoption-challenged in the interesting way decentralized package systems are: it reduces the need for central distro blessing, but depends on upstreams publishing feeds and users trusting the model. Its docs explicitly describe the chicken-and-egg problem where distributions may not package software until popular, while software cannot become popular until it is easy to install.

The supplied package data shows Zero Install available from Homebrew, Chocolatey, Debian, Ubuntu, Fedora-related OCaml packaging, and winget. That breadth reflects a mature cross-platform tool, even if it never displaced mainstream OS package managers.

The project also spread into related implementations and tools, including Zero Install for Windows, .NET components, feed/publishing utilities, and docs for integrating with native distribution package managers.

### 使われ方

Users typically invoke the `0install` family of commands to select and run applications from feed files, create aliases, manage cached implementations, or integrate desktop/menu entries. The model caches each version of a package separately rather than unpacking into system directories.

For developers, the work is feed publication: write XML metadata describing available implementations, dependencies, signatures, and platform constraints, then host it next to upstream software. 0install can use source or binary archives and can satisfy some dependencies from native package managers when appropriate.

Its practical appeal is strongest for cross-platform tools, research software, and upstream-controlled distribution where the author wants updates and dependency metadata without waiting for every distro repository.

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

Zero Install is historically important because it explored a serious alternative to both central distro repositories and ad hoc upstream installers. It tried to preserve package-manager virtues such as dependency solving, shared libraries, signatures, updates, and rollbacks while decentralizing publication.

For package nerds, it is also a case study in bootstrapping and trust. The C kernel-helper origin, Python redesign, OCaml rewrite, XML feed model, digest-based caches, and native package-manager integration all show the tradeoffs of building a package ecosystem that spans distributions without owning them.

Even where Zero Install did not become the default installation path, many of its concerns are now familiar: per-user installs without root, content-addressed caches, reproducible metadata, side-by-side versions, and upstream-controlled distribution.

### タイムライン

- 2003: Zero Install's goal of secure, cross-platform, decentralized software installation begins.
- 2005: Project is redesigned and reimplemented in Python to simplify distribution.
- 2011-05-23: Zero Install 1.0 is released.
- 2013-03-05: Zero Install 2.0 is released with backwards-compatible feeds, richer dependency metadata, native package integration, apps/rollback, diagnostics, completion, and headless improvements.
- 2013: Core implementation is migrated from Python toward OCaml.
- 2014-06-06: Thomas Leonard publishes a retrospective on the Python-to-OCaml migration.

### Related projects

- ROX Desktop is historically associated with Zero Install as a desktop environment that used decentralized application installation.
- 0install-win and 0install-dotnet provide Windows/.NET-side Zero Install functionality.
- 0release, 0repo, 0publish, and 0compile are related tools in the Zero Install packaging and release workflow.

### ソース

- <https://0install.net/>
- <https://docs.0install.net/>
- <https://docs.0install.net/about/features/>
- <https://github.com/0install/0install#readme>
- <https://lwn.net/Articles/541676/>
- <https://roscidus.com/blog/blog/2014/06/06/python-to-ocaml-retrospective/>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: ~/.config/0install.net/injector, /etc/xdg/0install.net/injector
- Windows: %APPDATA%\0install.net\injector, %PROGRAMDATA%\0install.net\injector
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zero-install
- **Aliases:** 0install
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- winget - ZeroInstall.ZeroInstall: normalized package name match | Windows Package Manager source index: ZeroInstall.ZeroInstall from https://cdn.winget.microsoft.com/cache/source.msix
- Debian apt - 0install - 2.18-2.1: installed executable or alias match | Debian stable package indexes: 0install from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cross-distribution packaging system | http://0install.net/
- Ubuntu apt - 0install - 2.18-2ubuntu2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: 0install from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | cross-distribution packaging system | http://0install.net/
- dnf - ocaml-0install-solver - 2.18-12.fc45: installed executable or alias match | Fedora Rawhide package metadata: ocaml-0install-solver from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Package dependency solver | https://0install.net/
- dnf - ocaml-0install-solver-devel - 2.18-12.fc45: installed executable or alias match | Fedora Rawhide package metadata: ocaml-0install-solver-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for 0install-solver | https://0install.net/
- Chocolatey - 0install: installed executable or alias match | Chocolatey community package catalog: 0install from https://community.chocolatey.org/api/v2/Packages()?$filter=IsLatestVersion&$select=Id&$top=1000


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Package ecosystem packages](https://www.automicvault.com/ja/pkg/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gnupg](https://www.automicvault.com/ja/pkg/brew/gnupg/) - Runtime dependency declared by Homebrew.
- [ocaml](https://www.automicvault.com/ja/pkg/brew/ocaml/) - Build dependency declared by Homebrew.
- [opam](https://www.automicvault.com/ja/pkg/brew/opam/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [meta-package-manager](https://www.automicvault.com/ja/pkg/brew/meta-package-manager/) - Shares av.db curated category or tags: cli, cross-platform, package-management, system.
- [pacapt](https://www.automicvault.com/ja/pkg/brew/pacapt/) - Shares av.db curated category or tags: cli, cross-platform, package-management, system.
- [snap](https://www.automicvault.com/ja/pkg/brew/snap/) - Shares av.db curated category or tags: cli, package-management, system.
- [dpkg](https://www.automicvault.com/ja/pkg/brew/dpkg/) - Shares av.db curated category or tags: cli, package-management, system.
- [fnt](https://www.automicvault.com/ja/pkg/brew/fnt/) - Shares av.db curated category or tags: cli, package-management, system.
- [aspcud](https://www.automicvault.com/ja/pkg/brew/aspcud/) - Shares av.db curated category or tags: cli, package-management, system.
- [cpufetch](https://www.automicvault.com/ja/pkg/brew/cpufetch/) - Shares av.db curated category or tags: cli, cross-platform, system.
- [erdtree](https://www.automicvault.com/ja/pkg/brew/erdtree/) - Shares av.db curated category or tags: cli, cross-platform, system.
- [g-ls](https://www.automicvault.com/ja/pkg/brew/g-ls/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, management, platform.

## Combined YAML source

View the package source record on GitHub. [combined/zero-install.yml](https://github.com/automic-vault/db/blob/main/combined/zero-install.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
