Skip to content

Install comic-dl and add manga sources

Install Node.js 24 (which includes npm), then install the CLI.

终端窗口
node --version
npm install -g comic-dl
comic-dl --version

The core package does not bundle online manga sources. Add an extension for the site or self-hosted library you want to use.

Find maintained extensions in comic-dl-extensions, or use a compatible third-party extension. Look up the npm package name in the extension’s README, then run:

终端窗口
comic-dl add @comic-dl/copymanga
comic-dl sources

The CLI loads extensions installed with add automatically. In the sources output, copymanga is the source ID you pass to --source. The add, update, and remove commands take the npm package name, @comic-dl/copymanga. The fixture source is for local development testing.

Some sources require additional setup. Zerobyw requires a session cookie to list or download chapters. Komga and Kavita require a server URL and key. CopyManga works anonymously, so you can go straight to basic usage.

终端窗口
comic-dl update @comic-dl/copymanga
comic-dl update
comic-dl remove @comic-dl/copymanga

Pass a package name to update to update one extension, or omit it to update all installed extensions. Updates stay within the saved npm version range. To move outside that range, run comic-dl add 'package@version' again with the desired version. Removing an extension leaves downloaded CBZ files in place.