# 使用 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
- **版本:** 2.3.13
- **来源摘要:** Downloads course content fast from Moodle (e.g., lecture PDFs)
- **主页:** <https://github.com/C0D3D3V/Moodle-DL>
- **最后更新:** 2026-07-25T10:45:19Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- moodle-dl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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


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