Installation of Mongo Shell (Ubuntu)

Any idea how to install mongo shell on ubuntu? I’ve installed the Mongo Enterprise version. I have create the .bash_profile file, however I am not able to use the command “source ~/.bash_profile” to update the path. It’s showing that there’s no source found. Any help regarding this would be highly appreciated. I tried googling and checking stack overflow, but to no avail.

The source command is not part of MongoDB.

The easiest way to achieve the same result (reload your profile) is to simply close your current shell and open a new one.

1 Like

Thanks for your reply. I was able to solve it.