# 使用 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
- **版本:** 2.45.1
- **来源摘要:** OpenID Connect Identity and OAuth 2.0 Provider
- **主页:** <https://dexidp.io>
- **仓库:** <https://github.com/dexidp/dex>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dex (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.45.1
## 项目历史与用法

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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
