how to install and download mongodb code example Example 1: install mongodb 2018 instructions vim .bash_profile Example 2: install mongodb 2018 instructions touch .bash_profile