# 使用 Homebrew, apt, Nix, winget 安装 deck

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

## 安装

```sh
sudo av install brew:deck
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install deck
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install deck
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#deck
```

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

### Windows

- winget (92%):

```sh
winget install --id sfx101.deck -e
```

  证据: Windows Package Manager source index: sfx101.deck from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:deck
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/deck>
- **版本:** 1.24.1
- **来源摘要:** Creates slide deck using Markdown and Google Slides
- **主页:** <https://github.com/k1LoW/deck>
- **仓库:** <https://github.com/k1LoW/deck>
- **许可证:** MIT
- **源码归档:** <https://github.com/k1LoW/deck/archive/refs/tags/v1.24.1.tar.gz>
- **最后更新:** 2026-07-25T14:21:57-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- deck (cli)
- deck (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.24.1
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/k1LoW/deck
- 检测到的最新版本: v1.24.1 (当前)
## 项目历史与用法

deck is a Go CLI for building Google Slides presentations from Markdown while keeping slide content and slide design separate. It is aimed at people who want versionable text sources and iterative updates against a real Google Slides deck.

### 项目历史

The GitHub repository was created in March 2025, and the README describes the project around continuous deck building and separation of Markdown content from Google Slides design. Its release stream moved quickly through many versions, with v1.24.0 published in June 2026.

### 采用历史

The README documents Homebrew, `go install`, and manual release-binary installation. Formula metadata also shows packaging in Homebrew, Debian/Ubuntu, Nix, and winget contexts, while the official releases include cross-platform artifacts.

### 使用方式

Users configure Google OAuth client credentials, create or identify a Google Slides presentation, write slides in Markdown with YAML frontmatter, and run commands such as `deck new`, `deck apply`, `deck apply --watch`, `deck open`, and `deck ls-layouts`. Configuration can live in XDG config paths, while credentials and OAuth tokens live under XDG data and state paths.

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

deck is a package-nerd-friendly productivity tool because it treats slide decks as editable, reproducible source material without asking users to abandon Google Slides as the rendering and collaboration surface. It also shows a modern Go CLI packaging pattern: Homebrew, `go install`, GitHub releases, and OS package artifacts.

### 时间线

- 2025: Public GitHub repository created.
- 2025: README documented Markdown-to-Google-Slides workflow, OAuth setup, Homebrew installation, and release binaries.
- 2026: v1.24.0 release published.

### Related projects

- Related projects include googleworkspace/md2googleslides for Markdown-to-Slides generation and Songmu/laminate for selecting code-block image generation commands.

### 来源

- <https://github.com/k1LoW/deck#readme>
- <https://api.github.com/repos/k1LoW/deck>
- <https://github.com/k1LoW/deck/releases/tag/v1.24.0>


## 安全说明

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

- Unix: ${XDG_CONFIG_HOME:-$HOME/.config}/deck/config.yml, ${XDG_CONFIG_HOME:-$HOME/.config}/deck/config-{profile}.yml

## Credential files

- Unix: ${XDG_DATA_HOME:-$HOME/.local/share}/deck/credentials.json, ${XDG_DATA_HOME:-$HOME/.local/share}/deck/credentials-{profile}.json, ${XDG_STATE_HOME:-$HOME/.local/state}/deck/token.json, ${XDG_STATE_HOME:-$HOME/.local/state}/deck/token-{profile}.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** deck
- **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

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

- Debian apt - deck - 1.4.0-1+b24: normalized package name match | Debian stable package indexes: deck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Configuration management for Kong and Kong Enterprise (program) | https://github.com/kong/deck
- Nix - deck: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/deck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - deck - 1.4.0-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: deck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Configuration management for Kong and Kong Enterprise (program) | https://github.com/kong/deck
- winget - sfx101.deck: normalized package name match | Windows Package Manager source index: sfx101.deck from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [marp-cli](https://pkg.so/zh-hans/brew/marp-cli/) - Shares pkgdb curated category or tags: cli, markdown, presentations, productivity, slides.
- [slides](https://pkg.so/zh-hans/brew/slides/) - Shares pkgdb curated category or tags: cli, markdown, presentations, productivity, slides.
- [presenterm](https://pkg.so/zh-hans/brew/presenterm/) - Shares pkgdb curated category or tags: cli, markdown, presentations, productivity.
- [patat](https://pkg.so/zh-hans/brew/patat/) - Shares pkgdb curated category or tags: cli, markdown, presentations, productivity.
- [pympress](https://pkg.so/zh-hans/brew/pympress/) - Shares pkgdb curated category or tags: cli, presentations, productivity.
- [doitlive](https://pkg.so/zh-hans/brew/doitlive/) - Shares pkgdb curated category or tags: cli, presentations, productivity.
- [mdp](https://pkg.so/zh-hans/brew/mdp/) - Shares pkgdb curated category or tags: cli, markdown, presentations, productivity.
- [pdfpc](https://pkg.so/zh-hans/brew/pdfpc/) - Shares pkgdb curated category or tags: cli, presentations, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/deck.yml](https://github.com/mxcl/pkgdb/blob/main/combined/deck.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
