# 使用 Homebrew, Nix, winget 安装 ente-cli

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

## 安装

```sh
sudo av install brew:ente-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ente-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ente-cli
```

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

### Windows

- winget (92%):

```sh
winget install --id ente-io.ente.CLI -e
```

  证据: Windows Package Manager source index: ente-io.ente.CLI from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:ente-cli
- **软件包管理器:** Homebrew
- **版本:** 0.2.3
- **来源摘要:** Utility for exporting data from Ente and decrypt the export from Ente Auth
- **主页:** <https://github.com/ente-io/>
- **仓库:** <https://github.com/ente/ente>
- **最后更新:** 2026-07-26T04:11:38+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ente (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ente-cli is the command-line export and decryption utility from Ente's open-source, end-to-end encrypted product monorepo. It is mainly useful to Ente Photos and Ente Auth users who want a scriptable way to add accounts, run exports, and decrypt authenticator exports outside the graphical apps.

### 项目历史

The CLI grew out of Ente's broader platform, which presents itself as a fully open-source, end-to-end encrypted service for photos, authenticator data, and related personal storage products. The monorepo README describes Ente Photos as the flagship product and Ente Auth as a later authenticator built from the same encrypted foundations.

The CLI README documents it as a standalone Go command with prebuilt release binaries, source builds, and Docker usage. Its command set centers on account management and export workflows rather than being a general-purpose media tool.

### 采用历史

Package-manager adoption is modest but real: Homebrew ships the `ente-cli` formula, and the input package facts also list Nix and Winget package names. Homebrew's formula analytics showed hundreds of annual installs when checked for this enrichment run, which fits a companion utility for an existing hosted service rather than a broad Unix staple.

### 使用方式

Typical use starts with `ente account add`, optional account listing or export-directory changes, and then `ente export`. The CLI also has a documented Auth export decryption use case, making it relevant for users who need local backups or migration paths from encrypted Ente data.

The tool stores local account/export state in its Ente CLI config directory and can be run as a static binary or in Docker, which matters for repeatable backup jobs and headless export automation.

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

For package maintainers, ente-cli is interesting as a small CLI carved out of a much larger encrypted-app monorepo. It brings a hosted consumer app workflow into the normal package-manager world: static binaries, Homebrew/Nix/Winget entries, and scriptable export commands.

### 时间线

- 2020s: Ente publishes its client apps and server in an open-source monorepo.
- 2020s: Ente Auth is added as an end-to-end encrypted authenticator built on Ente's existing platform.
- 2020s: The Ente CLI is documented as a standalone utility for exports, account management, and Auth export decryption.

### Related projects

- Ente Photos, Ente Auth, and Ente Locker are sibling products in the same monorepo.
- The CLI overlaps operationally with backup/export tools, but its encryption and account model are specific to Ente.

### 来源

- <https://github.com/ente-io/ente/blob/main/README.md>
- <https://github.com/ente-io/ente/blob/main/cli/README.md>
- <https://formulae.brew.sh/formula/ente-cli>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: ~/.ente/config.yaml, config.yaml, $ENTE_CLI_CONFIG_DIR/config.yaml

## Credential files

- Unix: ~/.ente/ente-cli.db, $ENTE_CLI_CONFIG_DIR/ente-cli.db
## 其他软件包管理器记录

- Nix - ente-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/en/ente-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - ente-io.ente.CLI: normalized package name match | Windows Package Manager source index: ente-io.ente.CLI from https://cdn.winget.microsoft.com/cache/source.msix
- winget - ente-io.photos-desktop: installed executable or alias match | Windows Package Manager source index: ente-io.photos-desktop from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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