UNPKG

1.12 kBMarkdownView Raw
1# mongodb-version-manager [![travis][travis_img]][travis_url] [![npm][npm_img]][npm_url] [![appveyor][appveyor_img]][appveyor_url]
2
3> Install and manage multiple versions of MongoDB.
4
5## Install
6
7```sh
8npm install -g mongodb-version-manager
9```
10
11## Usage
12
13```sh
14$ m
15Usage:
16 m use <version> [--branch=<branch> --distro=<distro> --enterprise]
17 m url <version> [--branch=<branch> --distro=<distro> --enterprise]
18 m available [--stable --unstable --rc --pokemon]
19 m path
20```
21
22Once you've installed your first version of mongo with the `m use` command, update your `~/.bashrc` file:
23
24```sh
25export PATH="$HOME/.mongodb/versions/mongodb-current/bin:$PATH"
26```
27
28## License
29
30Apache 2.0
31
32[travis_img]: https://img.shields.io/travis/mongodb-js/version-manager.svg
33[travis_url]: https://secure.travis-ci.org/mongodb-js/version-manager
34[appveyor_img]: https://ci.appveyor.com/api/projects/status/s3xm8f9eqiakqusn?svg=true
35[appveyor_url]: https://ci.appveyor.com/project/imlucas/mongodb-version-manager
36[npm_img]: https://img.shields.io/npm/v/mongodb-version-manager.svg
37[npm_url]: https://npmjs.org/package/mongodb-version-manager