Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mongodb-js/version-manager
Cross-platform helper for managing multiple versions of MongoDB
https://github.com/mongodb-js/version-manager
compass-tools mongodb mongodb-cli
Last synced: about 2 months ago
JSON representation
Cross-platform helper for managing multiple versions of MongoDB
- Host: GitHub
- URL: https://github.com/mongodb-js/version-manager
- Owner: mongodb-js
- License: apache-2.0
- Archived: true
- Created: 2014-07-19T05:04:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T10:52:21.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T20:36:22.875Z (2 months ago)
- Topics: compass-tools, mongodb, mongodb-cli
- Language: JavaScript
- Homepage: https://github.com/mongodb-js/version-manager
- Size: 261 KB
- Stars: 46
- Watchers: 8
- Forks: 14
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-env - mongodb-version-manager
README
# mongodb-version-manager [![travis][travis_img]][travis_url] [![npm][npm_img]][npm_url] [![appveyor][appveyor_img]][appveyor_url]
> Install and manage multiple versions of MongoDB.
## Install
```sh
npm install -g mongodb-version-manager
```## Usage
```sh
$ m
Usage:
m use [--branch= --distro= --enterprise]
m url [--branch= --distro= --enterprise]
m available [--stable --unstable --rc --pokemon]
m path
```Once you've installed your first version of mongo with the `m use` command, update your `~/.bashrc` file:
```sh
export PATH=~/.mongodb/versions/mongodb-current/bin:$PATH
```When installed globally, each version of MongoDB you've installed are stored under `~/.mongodb/versions`:
```
├── mongodb-3.0.7-osx-64
├── mongodb-3.2.0-osx-64
├── mongodb-3.3.8-osx-64-enterprise
├── mongodb-3.4.0-rc2-osx-64
├── mongodb-3.4.4-osx-64
├── mongodb-3.4.5-osx-64-enterprise
├── mongodb-3.5.1-osx-64
├── mongodb-3.6.3-osx-64
├── mongodb-3.6.4-osx-64
├── mongodb-3.7.3-osx-64
└── mongodb-current -> ~/.mongodb/versions/mongodb-3.6.4-osx-64
```The contents of each directory under `~/.mongodb/versions/mongodb-*` are:
```
├── GNU-AGPL-3.0
├── MPL-2
├── README
├── THIRD-PARTY-NOTICES
└── bin
├── bsondump
├── install_compass
├── mongo
├── mongod
├── mongodump
├── mongoexport
├── mongofiles
├── mongoimport
├── mongoperf
├── mongoreplay
├── mongorestore
├── mongos
├── mongostat
└── mongotop
```## Related
* [`mongodb-runner`](https://github.com/mongodb-js/runner) Easily control MongoDB for testing.
## License
Apache 2.0
[travis_img]: https://img.shields.io/travis/mongodb-js/version-manager.svg
[travis_url]: https://secure.travis-ci.org/mongodb-js/version-manager
[appveyor_img]: https://ci.appveyor.com/api/projects/status/s3xm8f9eqiakqusn?svg=true
[appveyor_url]: https://ci.appveyor.com/project/imlucas/mongodb-version-manager
[npm_img]: https://img.shields.io/npm/v/mongodb-version-manager.svg
[npm_url]: https://npmjs.org/package/mongodb-version-manager