install mongod code example
Example 1: mongo install
sudo apt install mongodb-clients
Example 2: install mongodb 2018 instructions
vim .bash_profile
Example 3: mongodb installation
alias mongod="/c/Program\ files/MongoDB/Server/4.0/bin/mongod.exe"alias mongo="/c/Program\ Files/MongoDB/Server/4.0/bin/mongo.exe"