Hi @Patrick_Edward,
Quick clarification on the upgrade path (since the original discussion was about versions of the mongo
shell): @chris’ links are for the the in-place upgrade path for MongoDB major server release versions.
If you are only concerned with running the mongo
shell, you should install the correct version to match your server release (i.e. a 3.6.x mongo
shell for use with a MongoDB 3.6.x server release) or use an administration tool which is not as closely tied to the server release version:
- New MongoDB Shell (
mongosh
) - See Introducing the new MongoDB Shell for more background. - MongoDB Compass - A GUI administration tool which also embeds
mongosh
in recent versions.
There are some other server upgrade approaches as discussed on Replace mongodb binaries all at once? - #3 by Stennie_X, but typically admins want to upgrade without downtime so follow the documented upgrade path recommended by @chris.
Regards,
Stennie