# Install moodle-dl with Homebrew, Nix

Downloads course content fast from Moodle (e.g., lecture PDFs). Version 2.3.13 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#moodle-dl.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:moodle-dl
- **Package manager:** Homebrew
- **Version:** 2.3.13
- **Source summary:** Downloads course content fast from Moodle (e.g., lecture PDFs)
- **Homepage:** <https://github.com/C0D3D3V/Moodle-DL>
- **Last updated:** 2026-07-25T10:45:19Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- moodle-dl (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.3.13
## Project history and usage

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.

### Project history

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.

### How it is used

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.

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for moodle-dl. Nucleus package metadata is still published here so future coverage has a stable package 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
## Other Package-Manager Records

- 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)


## Sources

- 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
