CLI tool and library to install and manage multiple versions of MongoDB locally. Version 1.5.0 is the latest release. It downloads MongoDB binaries from official sources, stores them under ~/.mongodb/versions, and symlinks a current version. Primarily used for testing and development across different MongoDB versions. Offers commands like use, url, available, and path. Simpler than Docker-based solutions but limited to official MongoDB builds and lacks ecosystem support like mongodb-runner.
npm install mongodb-version-managerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs globally, downloads MongoDB 4.0.0 enterprise, prints binary path, updates PATH, and verifies installation.
Run `m use` again to re-symlink or manually check ~/.mongodb/versions/mongodb-current.
Use setx PATH to add ~/.mongodb/versions/mongodb-current/bin or update system environment manually.
Use nvm to manage Node.js and global packages, or run with sudo (but prefer fixing permissions).
Add `export PATH=$(npm bin -g):$PATH` to .bashrc or use nvm.
Check `m available --stable` for exact version names; use format like '4.0.0' or '4.2.0-rc1'.
Try without --enterprise, or use a different version. Check supported distros on MongoDB download center.
No dependency data recorded yet.