# 使用 Homebrew, Nix 安装 moodle-dl

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

## 安装

```sh
sudo av install brew:moodle-dl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install moodle-dl
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#moodle-dl
```

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

## 软件包事实

- **软件包键:** brew:moodle-dl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/moodle-dl>
- **版本:** 2.3.13
- **来源摘要:** Downloads course content fast from Moodle (e.g., lecture PDFs)
- **主页:** <https://github.com/C0D3D3V/Moodle-DL>
- **仓库:** <https://github.com/C0D3D3V/Moodle-DL>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://files.pythonhosted.org/packages/0b/44/9c283a04b0ede0bcaa2f3595b523cb115c662fe349f215631484035126d1/moodle_dl-2.3.13.tar.gz>
- **最后更新:** 2026-07-25T10:45:19Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- moodle-dl (cli)
- moodle-dl (别名)

## 依赖

- certifi
- cffi
- ffmpeg
- python@3.14

## 构建依赖

- cmake

## macOS 提供的库

- libffi

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.3.13
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/C0D3D3V/Moodle-DL
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Moodle-DL is a student-oriented Moodle downloader developed in the C0D3D3V/Moodle-DL GitHub project. Its README presents the origin problem plainly: repeatedly downloading course files by hand is inefficient. The tool answers that with a Python console application that downloads Moodle course materials needed for study routines, including files, assignments and submissions, books, calendar events, forums, workshops, lessons, quizzes, descriptions, external links, and video/file integrations such as OpenCast, YouTube, Sciebo, Owncloud, Kaltura, Helixmedia, and Google Drive.

### 项目历史

The project is shaped by Moodle's API and institutional-learning-management quirks. The README says it uses the Moodle mobile API, stores configuration in config.json, can handle SSO/token flows, and can maintain cookies for modules not exposed through the mobile API. It also supports notification channels including Telegram, Discord, XMPP, and mail, and reruns avoid redownloading files already saved locally. That makes it a personal archival and synchronization tool rather than a replacement for Moodle's built-in course export feature, which Moodle documentation describes as an administrator-enabled "Download course content" option.

### 使用方式

In package-manager terms, moodle-dl is a niche CLI for students and university users whose Moodle instance allows the needed API access. Its README compares it with adjacent Moodle downloaders such as webeep-sync, syncMyMoodle, edu-sync, tum-moodle-downloader, moodle-buddy, and Discord notification bots, reflecting a small ecosystem of institution-specific tools around the same pain point.

### 来源

- <https://docs.moodle.org/en/Download_course_content>
- <https://github.com/C0D3D3V/Moodle-DL>


## 安全说明

没有找到 moodle-dl 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



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

## Credential files

- Unix: config.json, cookie.txt
## 源数据库详情

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

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

- Nix - moodle-dl: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/moodle-dl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [cffi](https://pkg.so/zh-hans/brew/cffi/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [klavaro](https://pkg.so/zh-hans/brew/klavaro/) - Shares pkgdb curated category or tags: cli, education, productivity.
- [gnu-typist](https://pkg.so/zh-hans/brew/gnu-typist/) - Shares pkgdb curated category or tags: cli, education, productivity.
- [yuque-dl](https://pkg.so/zh-hans/brew/yuque-dl/) - Shares pkgdb curated category or tags: cli, downloader, productivity.
- [getxbook](https://pkg.so/zh-hans/brew/getxbook/) - Shares pkgdb curated category or tags: cli, downloader, productivity.
- [aldo](https://pkg.so/zh-hans/brew/aldo/) - Shares pkgdb curated category or tags: cli, education, productivity.
- [tmux](https://pkg.so/zh-hans/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity.
- [vim](https://pkg.so/zh-hans/brew/vim/) - Shares pkgdb curated category or tags: cli, productivity.
- [himalaya](https://pkg.so/zh-hans/brew/himalaya/) - Shares pkgdb curated category or tags: cli, productivity.
- [bagels](https://pkg.so/zh-hans/brew/bagels/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, productivity, python, python-3-14.
- [buku](https://pkg.so/zh-hans/brew/buku/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, productivity, python, python-3-14.
- [enex2notion](https://pkg.so/zh-hans/brew/enex2notion/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, productivity, python, python-3-14.

## Combined YAML source

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