mongodb install manual code example Example 1: mongo install sudo apt install mongodb-clients Example 2: install mongodb 2018 instructions vim .bash_profile