项目作者: mongodb-js

项目描述 :
Cross-platform helper for managing multiple versions of MongoDB
高级语言: JavaScript
项目地址: git://github.com/mongodb-js/version-manager.git
创建时间: 2014-07-19T05:04:02Z
项目社区:https://github.com/mongodb-js/version-manager

开源协议:Apache License 2.0

下载


mongodb-version-manager travis npm appveyor

Install and manage multiple versions of MongoDB.

Install

  1. npm install -g mongodb-version-manager

Usage

  1. $ m
  2. Usage:
  3. m use <version> [--branch=<branch> --distro=<distro> --enterprise]
  4. m url <version> [--branch=<branch> --distro=<distro> --enterprise]
  5. m available [--stable --unstable --rc --pokemon]
  6. m path

Once you’ve installed your first version of mongo with the m use command, update your ~/.bashrc file:

  1. export PATH=~/.mongodb/versions/mongodb-current/bin:$PATH

When installed globally, each version of MongoDB you’ve installed are stored under ~/.mongodb/versions:

  1. ├── mongodb-3.0.7-osx-64
  2. ├── mongodb-3.2.0-osx-64
  3. ├── mongodb-3.3.8-osx-64-enterprise
  4. ├── mongodb-3.4.0-rc2-osx-64
  5. ├── mongodb-3.4.4-osx-64
  6. ├── mongodb-3.4.5-osx-64-enterprise
  7. ├── mongodb-3.5.1-osx-64
  8. ├── mongodb-3.6.3-osx-64
  9. ├── mongodb-3.6.4-osx-64
  10. ├── mongodb-3.7.3-osx-64
  11. └── mongodb-current -> ~/.mongodb/versions/mongodb-3.6.4-osx-64

The contents of each directory under ~/.mongodb/versions/mongodb-* are:

  1. ├── GNU-AGPL-3.0
  2. ├── MPL-2
  3. ├── README
  4. ├── THIRD-PARTY-NOTICES
  5. └── bin
  6. ├── bsondump
  7. ├── install_compass
  8. ├── mongo
  9. ├── mongod
  10. ├── mongodump
  11. ├── mongoexport
  12. ├── mongofiles
  13. ├── mongoimport
  14. ├── mongoperf
  15. ├── mongoreplay
  16. ├── mongorestore
  17. ├── mongos
  18. ├── mongostat
  19. └── mongotop

License

Apache 2.0