# 使用 Homebrew, apk, apt, Nix, pacman, zypper 安装 dexidp

查看 dexidp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:dexidp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dexidp
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dex
```

  证据: Alpine Linux edge package indexes: dex from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dex
```

  证据: Debian stable package indexes: dex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#dex
```

  证据: nixpkgs package indexes: pkgs/by-name/de/dex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dex
```

  证据: Arch Linux sync databases: dex from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dex
```

  证据: openSUSE Tumbleweed package metadata: dex from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:dexidp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dexidp>
- **版本:** 2.45.1
- **来源摘要:** OpenID Connect Identity and OAuth 2.0 Provider
- **主页:** <https://dexidp.io>
- **仓库:** <https://github.com/dexidp/dex>
- **上游文档:** <https://dexidp.io>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/dexidp/dex/archive/refs/tags/v2.45.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dex (cli)
- dex (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.45.1
- 本地数据: OK
- 上游仓库: https://github.com/dexidp/dex
- 检测到的最新版本: v2.45.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Dex is an OpenID Connect identity provider used as a federation layer between client applications and upstream identity systems such as LDAP, SAML, GitHub, Google, and Active Directory.

### 项目历史

The official release stream begins with v0.1.0 in 2015 and continues through the 2.x series. The project presents itself as an identity service built around OpenID Connect ID tokens, with configuration and connector support aimed at production deployment rather than only local development.

### 采用历史

Dex adoption has been strongest around Kubernetes and cloud-native infrastructure. Its own adopters list includes companies and projects using it for Kubernetes API authentication, SSO for web UIs, and integration into platforms such as Argo CD, Kubeflow, Kyma, and sigstore.

### 使用方式

Operators usually run Dex as a service with a YAML configuration file and configure one or more connectors for upstream authentication. Client applications then speak OpenID Connect to Dex instead of implementing every backend identity protocol themselves.

### 为什么软件包爱好者会关心

For package maintainers, Dex is a security-sensitive Go service rather than a small CLI utility: packaging needs to preserve the server binary, example configuration workflow, release-note tracking, and the operational expectation that deployments will supply their own connectors, storage, and TLS settings.

### 时间线

- 2015: v0.1.0 appears in the official tag history.
- 2020: the official configuration documentation page is dated January 2020.
- 2026: the 2.x release series remains active in the official tags.

### Related projects

- Dex is commonly paired with Kubernetes OIDC authentication, kubelogin, OAuth2 Proxy-style protected web UIs, and upstream identity providers reached through its connector system.

### 来源

- <https://github.com/dexidp/dex#readme>
- <https://github.com/dexidp/dex/blob/master/ADOPTERS.md>
- <https://github.com/dexidp/dex/tags>
- <https://github.com/dexidp/dex/blob/master/config.yaml.dist>
- <https://github.com/dexidp/dex/blob/master/cmd/dex/serve.go>
- <https://dexidp.io/docs/>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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

- Unix: config.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dexidp
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** dex
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - dex - 0.10.1-1: installed executable or alias match | Debian stable package indexes: dex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generate and execute Application type .desktop files | https://github.com/jceb/dex
- Nix - dex: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/de/dex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dex - 0.9.0-2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | generate and execute Application type .desktop files | https://github.com/jceb/dex
- apk - dex - 0.10.1-r0: installed executable or alias match | Alpine Linux edge package indexes: dex from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | program to generate and execute DesktopEntry files of the Application type | https://github.com/jceb/dex
- apk - dex-doc - 0.10.1-r0: installed executable or alias match | Alpine Linux edge package indexes: dex-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | program to generate and execute DesktopEntry files of the Application type (documentation) | https://github.com/jceb/dex
- pacman - dex - 0.10.1-1: installed executable or alias match | Arch Linux sync databases: dex from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Program to generate and execute DesktopEntry files of type Application | https://github.com/jceb/dex
- zypper - dex - 0.9.0-1.16: installed executable or alias match | openSUSE Tumbleweed package metadata: dex from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | DesktopEntry Execution | https://github.com/jceb/dex


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [oauth2_proxy](https://pkg.so/zh-hans/brew/oauth2-proxy/) - Shares pkgdb curated category or tags: authentication, cli, identity-provider, oauth2, security.
- [opensaml](https://pkg.so/zh-hans/brew/opensaml/) - Shares pkgdb curated category or tags: authentication, cli, identity, security.
- [saml2aws](https://pkg.so/zh-hans/brew/saml2aws/) - Shares pkgdb curated category or tags: authentication, cli, identity-provider, security, sso.
- [okta-aws-cli](https://pkg.so/zh-hans/brew/okta-aws-cli/) - Shares pkgdb curated category or tags: cli, identity, security.
- [okta-awscli](https://pkg.so/zh-hans/brew/okta-awscli/) - Shares pkgdb curated category or tags: cli, identity, security.
- [pocket-id](https://pkg.so/zh-hans/brew/pocket-id/) - Shares pkgdb curated category or tags: authentication, cli, identity-provider, security.
- [aws-spiffe-workload-helper](https://pkg.so/zh-hans/brew/aws-spiffe-workload-helper/) - Shares pkgdb curated category or tags: cli, identity, security.
- [spiffe-helper](https://pkg.so/zh-hans/brew/spiffe-helper/) - Shares pkgdb curated category or tags: cli, identity, security.

## Combined YAML source

View the package source record on GitHub. [combined/dexidp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dexidp.yml)


## 来源

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