From the course: MongoDB Essential Training
Unlock the full course today
Join today to access over 23,400 courses taught by industry experts.
Install MongoDB on Linux - MongoDB Tutorial
From the course: MongoDB Essential Training
Install MongoDB on Linux
- In this video, we're going to install MongoDB, the MongoDB Shell and the MongoDB tools on Linux. If you are not using Linux, please watch one of the other two videos. My favorite way of installing MongoDB is using a tool called m. m is a MongoDB version manager that allows you to have multiple versions of MongoDB installed at the same time. To install m, you're going to need Node, or more specifically Node's package manager. If you don't have Node installed, I recommend you look for a tool called nvm to install the latest version of Node. nvm is Node's version manager. If you're not sure whether you have Node installed, go to your terminal and type in mpm version. If you get back a document like this that gives you a Node version number, you have node installed and you can proceed like this. So let's go back to installing m and let me copy this code. Back to the terminal and let me paste that here. And it says it…