title: mongodump and mongorestore command not found mac
body: <p>I intalled mongodb by the following steps</p>
  <ul>
  <li>Downloaded mongodb-macos-x86_64-4.4.0.tgz</li>
  <li>sudo mv mongodb-macos-x86_64-4.4.0.tgz  /usr/local/mongodb</li>
  <li>mkdir -p /data/db</li>
  <li>sudo chown myusername /data/db</li>
  <li>mongod</li>
  </ul>
  <p>Now the mongodb server is started and running, I need to import my db with the backup I have.
  I tried importing data with the following command</p>
  <ul>
  <li>mongorestore --host localhost --port 27017 --db dbName /Users/userName/Downloads/mongo</li>
  </ul>
  <p>It throws</p>
  <ul>
  <li>mongorestore: command not found</li>
  </ul>
  <p>How can I install mongostore and mongodumb seperately? Any help would be appreciated. Thanks in advance.</p>