mongodb-version-manager

1.5.0 • Public • Published

mongodb-version-manager travis npm appveyor

Install and manage multiple versions of MongoDB.

Install

npm install -g mongodb-version-manager

Usage

$ m
Usage:
  m use <version> [--branch=<branch> --distro=<distro> --enterprise]
  m url <version> [--branch=<branch> --distro=<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:

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

License

Apache 2.0

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.0239latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.0239
1.4.63,685
1.4.51
1.4.40
1.4.319
1.4.20
1.4.10
1.4.00
1.3.20
1.3.13
1.3.012
1.2.40
1.2.31
1.2.20
1.2.11
1.2.012
1.1.412
1.1.35
1.1.24
1.1.12
1.1.00
1.0.80
1.0.72
1.0.60
1.0.50
1.0.41
1.0.20
1.0.10
1.0.04
0.8.103
0.8.91
0.8.81
0.8.70
0.8.60
0.8.50
0.8.41
0.8.30
0.8.20
0.8.10
0.8.00
0.7.23
0.7.12
0.7.01
0.6.20
0.6.10
0.6.01
0.5.01
0.4.10
0.4.00
0.3.00
0.2.00
0.1.10
0.1.011
0.0.20
0.0.10

Package Sidebar

Install

npm i mongodb-version-manager

Weekly Downloads

4,028

Version

1.5.0

License

Apache-2.0

Unpacked Size

31.3 kB

Total Files

14

Last publish

Collaborators

  • mongodb-js-user
  • rueckstiess
  • durran
  • alexander_schroll
  • mabaasit
  • lerouxb
  • fredtruman
  • mbroadst
  • hswolff
  • satyasinha
  • matt_d_rat
  • rhysm
  • tomhollander
  • alena.khineika
  • jeff-allen-mongo
  • mmarcon
  • jonathan.balsano
  • mongodb-build
  • jack.weir
  • mcasimir
  • kristina.stefano
  • jarjee
  • shaketbaby
  • devtoolsbot
  • addaleax
  • gribnoysup
  • mutukrish
  • mongo-j
  • orechova
  • himanshusinghs
  • c-buckingham
  • nbbeeken
  • dbx-node
  • nirinchev
  • pearsb1
  • imlucas