# 使用 Homebrew, apk, dnf, MacPorts, Nix, scoop, winget 安装 exercism

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

## 安装

```sh
sudo av install brew:exercism
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install exercism
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install exercism
```

  证据: MacPorts ports tree: devel/exercism/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add exercism
```

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

- dnf (92%):

```sh
sudo dnf install exercism
```

  证据: Fedora Rawhide package metadata: exercism from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#exercism
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/exercism
```

  证据: Scoop official bucket manifest trees: bucket/exercism.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Exercism.CLI -e
```

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

## 软件包事实

- **软件包键:** brew:exercism
- **软件包管理器:** Homebrew
- **版本:** 3.5.8
- **来源摘要:** Command-line tool to interact with exercism.io
- **主页:** <https://exercism.io/cli/>
- **仓库:** <https://github.com/exercism/cli>
- **最后更新:** 2026-07-25T14:23:19-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- exercism (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

The Exercism CLI is the local command-line companion to Exercism, a free programming-practice and mentoring platform. It downloads exercises into a developer's own workspace and submits completed solutions back to exercism.org.

### 项目历史

Exercism was first created in 2013 by Katrina Owen as a tool for her students. The project's own v3 materials describe v1 as a collection of practice exercises, v2 as a free code-mentorship platform, and v3 as the next major platform generation.

Exercism v3 launched on September 1, 2021 after about two years of work. The launch migrated data from v2, changed mentoring from an automatic request to a deliberate user action, and marked a broader redesign of the platform's learning model.

At the same time, Exercism moved from exercism.io to exercism.org after roughly eight years on the old domain. The project framed the move as a better fit for its not-for-profit mission and a more trustworthy home for a growing learning platform.

### 采用历史

Exercism's adoption comes from the platform rather than the CLI alone: the official about page describes programming practice and mentorship across 83 languages, and the CLI repository has a long-lived release stream with prebuilt binaries. Package managers carry the CLI because local solving is a normal Exercism workflow, not a fringe integration.

The CLI itself is a Go binary with no additional runtime requirements, which made it easy for Homebrew, Linux distributions, Windows package managers, and language learners to install without pulling in a language-specific toolchain.

### 使用方式

The core workflow is configure, download, solve, submit. Users configure the CLI with an Exercism API token, download a track exercise by slug, work locally with the track's tests and tooling, and submit implementation files when the solution is ready.

The CLI also handles routine support tasks: checking the installed version, finding the binary with which exercism, opening issue-tracker context through troubleshoot output, and showing command help for less common operations.

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

For package maintainers, exercism is a nice example of a service-backed developer tool whose value is in a stable command-line contract rather than a local compiler or language runtime. It is tiny, cross-platform, frequently released, and directly tied to a public learning service.

For developers, the CLI keeps Exercism from being only a browser exercise site. It lets people use their editor, shell, local tests, and normal version-control habits while still participating in the hosted mentorship and solution-sharing platform.

### 时间线

- 2013: Katrina Owen creates Exercism as a tool for her students.
- 2018: Exercism v2 era centers the platform on free code mentorship.
- 2021-09-01: Exercism v3 launches.
- 2021-09-01: Exercism moves from exercism.io to exercism.org.
- 2025-09-24: exercism/cli publishes v3.5.8 on GitHub.

### Related projects

- The CLI is part of the broader Exercism platform, including language track repositories, mentoring tools, the exercism.org website, and the platform's GitHub-hosted open-source infrastructure.

### 来源

- <https://exercism.org/blog/whats-new-in-v3-with-angelika>
- <https://exercism.org/blog/exercism-v3-has-launched>
- <https://exercism.org/blog/exercism-io-is-now-exercism-org>
- <https://exercism.org/about>
- <https://exercism.org/docs/using/solving-exercises/working-locally>
- <https://github.com/exercism/cli>
- <https://github.com/exercism/cli/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - exercism: normalized package name match | nixpkgs package indexes: pkgs/by-name/ex/exercism/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - exercism - 3.5.8-r1: normalized package name match | Alpine Linux edge package indexes: exercism from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Command-line client for exercism.io | https://github.com/exercism/cli
- apk - exercism-bash-completion - 3.5.8-r1: normalized package name match | Alpine Linux edge package indexes: exercism-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for exercism | https://github.com/exercism/cli
- apk - exercism-fish-completion - 3.5.8-r1: normalized package name match | Alpine Linux edge package indexes: exercism-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for exercism | https://github.com/exercism/cli
- apk - exercism-zsh-completion - 3.5.8-r1: normalized package name match | Alpine Linux edge package indexes: exercism-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for exercism | https://github.com/exercism/cli
- dnf - exercism - 3.5.8-5.fc45: normalized package name match | Fedora Rawhide package metadata: exercism from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Exercism command-line interface | https://github.com/exercism/cli
- MacPorts - exercism: normalized package name match | MacPorts ports tree: devel/exercism/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/exercism: normalized package name match | Scoop official bucket manifest trees: bucket/exercism.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Exercism.CLI: normalized package name match | Windows Package Manager source index: Exercism.CLI from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
