GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - scottmccarrison/nexus-collection-dl: CLI tool to download Nexus Mods collections on Linux/macOS. Handles load order, plugin sorting (LOOT), and version tracking. Works with Starfield, BG3, Skyrim, Cyberpunk, and any Nexus game.

BranchesTags
Open more actions menu

Latest commit

 

History

270 Commits
270 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills/nexus-dl
.agents/skills/nexus-dl
 
 
.github
.github
 
 
nexus_collection_dl
nexus_collection_dl
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
GUIDE.md
GUIDE.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
TESTPLAN-0.5.0.md
TESTPLAN-0.5.0.md
 
 
docker-compose.yml
docker-compose.yml
 
 
pyproject.toml
pyproject.toml
 
 
setup.sh
setup.sh
 
 
uv.lock
uv.lock
 
 

Repository files navigation

nexus-collection-dl

Download and manage Nexus Mods collections on Linux and macOS. Works with any game - Baldur's Gate 3, Starfield, Cyberpunk 2077, you name it.

Quick start

# Install
uv tool install "nexus-collection-dl @ git+https://github.com/scottmccarrison/nexus-collection-dl@main"

# Configure (detects Steam, asks where collections live)
nexus-dl setup

# Download a collection
nexus-dl sync https://next.nexusmods.com/skyrimspecialedition/collections/XXXX ~/nexus-collections

# Install mods into your game
nexus-dl deploy ~/nexus-collections/CollectionName

Or just run nexus-dl after setup to open the interactive shell.

New to the command line? Read the Beginner's Guide - it walks through every step including installing a terminal.

Common tasks

I want to... Command
Download a collection nexus-dl sync <url> <dir>
Install mods into my game nexus-dl deploy <dir>
See what would be installed nexus-dl deploy <dir> --dry-run
Remove deployed mods nexus-dl undeploy <dir>
Add a single mod nexus-dl add <nexus-url> <dir>
Turn off a mod temporarily nexus-dl disable --mod-id 12345 <dir>
Remove a mod completely nexus-dl remove --mod-id 12345 <dir>
Reclaim disk space nexus-dl gc <dir> --apply
See what I have nexus-dl mods <dir>
Check for a newer version nexus-dl update or /update in the shell
Make "Mod manager download" clicks work nexus-dl handler install

Every command takes --help for its options. Add --json before any command for machine-readable output.

Installation

Python 3.10+ required.

With uv tool (recommended):

uv tool install "nexus-collection-dl @ git+https://github.com/scottmccarrison/nexus-collection-dl@main"

With pip:

pip install "nexus-collection-dl @ git+https://github.com/scottmccarrison/nexus-collection-dl@main"

With Docker (includes LOOT plugin sorting):

git clone https://github.com/scottmccarrison/nexus-collection-dl.git
cd nexus-collection-dl
docker compose build

If Rust is installed, the setup script builds libloot for plugin sorting. Without it, the tool still works - it just won't auto-sort plugins for Bethesda games.

Install from beta

Beta gets new features first and can change between points:

uv tool install "nexus-collection-dl @ git+https://github.com/scottmccarrison/nexus-collection-dl@beta"

Setup

nexus-dl setup

Detects your Steam root, asks where collections live, and offers to install the nxm:// click handler so "Mod manager download" clicks land in nexus-dl. For scripts: nexus-dl setup --non-interactive --collections-root ~/nexus-collections.

Shell

Run nexus-dl with no arguments to open the interactive shell over your collections. Type /help for commands. Key ones:

  • /sync - download or refresh a collection
  • /deploy - install mods into your game
  • /mods - see what you have
  • /status - health check and overview
  • /config - change where collections live
  • /update - check for a newer version

The shell also notices when you click "Mod manager download" on the Nexus site and offers to handle the download.

Machine-readable output

Add --json before any command for structured output on stdout:

nexus-dl --json status ~/nexus-collections/MyCollection

Prose goes to stderr, so 2>/dev/null gives you clean JSON.

Free vs Premium accounts

Premium users download directly through the API. Free users register a pending download and finish it manually from the Nexus website, then run nexus-dl import to bring the files in. The tool tells you which mode it is using.

Load order

The tool generates Plugins.txt from the collection's manifest order. For Bethesda games (Skyrim, Fallout, Starfield), it also writes the *Custom.ini needed for mods to load. With libloot installed, plugins are LOOT-sorted instead of using manifest order.

Upgrading and downgrading

The tool checks GitHub for newer versions on every command. In the shell, /update shows the current version and how to upgrade.

Upgrade:

uv tool install --from git+https://github.com/scottmccarrison/nexus-collection-dl@main nexus-collection-dl --force

Downgrade (replace 0.4.0 with the version you want):

uv tool install --from git+https://github.com/scottmccarrison/[email protected] nexus-collection-dl --force

Config, handler mappings, and collection state survive both. Features from a newer version are unavailable in an older one.

Command reference

Command What it does
setup Configure collections root and game detection
sync <url> <dir> Download a collection
deploy <dir> Install mods into your game directory
undeploy <dir> Remove deployed mod files
add <url> <dir> Add a single mod
add-local <name> <dir> Register a local mod
import <dir> Import manually downloaded files
remove --mod-id N <dir> Remove a mod from state and disk
enable / disable --mod-id N <dir> Turn a mod on/off
mods <dir> List tracked mods
collections [root] List collections
games [root] List games with mod counts
status <dir> Show status vs latest revision
gc <dir> Reclaim disk from old archives
load-order <dir> Regenerate load order
handler Manage nxm:// click handling
update <dir> Check for updated mods
track-sync Manage Nexus tracked-mod sync
health Run installation health checks
shell Open the interactive shell
nxm <url> Handle an nxm:// link (called by the browser)

Every command takes --help. --json (before the subcommand) gives machine-readable output.

More

  • Beginner's Guide - full walkthrough for new users
  • Discussions - questions and beta testing
  • Issues - bug reports
  • Agent skill - for AI harnesses

License

MIT

About

CLI tool to download Nexus Mods collections on Linux/macOS. Handles load order, plugin sorting (LOOT), and version tracking. Works with Starfield, BG3, Skyrim, Cyberpunk, and any Nexus game.

Topics

baldurs-gate-3clicyberpunk-2077fallout-4linux-gamingload-orderlootmod-managermoddingnexus-modsnexus-mods-apiprotonskyrimstarfieldsteam-deck

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

14 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.