# Mongod is not working

**URL:** <https://forum.codewithmosh.com/t/mongod-is-not-working/5038>\
**Category:** Node\
**Created:** [May 21, 2021, 5:21pm UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038 "2021-05-21T17:21:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AshutoshKumarChandel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ashutoshkumarchandel/32/1423_2.png) [@AshutoshKumarChandel](https://forum.codewithmosh.com/u/AshutoshKumarChandel)\
**Post date:** [May 21, 2021, 5:21pm UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038/1 "2021-05-21T17:21:33Z")

</div>

zsh: command not found: mongod

followed what mosh showed but still getting this error

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [May 21, 2021, 6:13pm UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038/2 "2021-05-21T18:13:53Z")

</div>

Are you in the correct folder?  
What command do you execute?  
Post screenshot.

---

<div class="post-metadata">

**Author:** ![AshutoshKumarChandel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ashutoshkumarchandel/32/1423_2.png) [@AshutoshKumarChandel](https://forum.codewithmosh.com/u/AshutoshKumarChandel)\
**Post date:** [May 22, 2021, 12:09am UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038/3 "2021-05-22T00:09:07Z")

</div>

I just opened terminal and whatever default folder I have, I tried running all the commands over there itself

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [May 22, 2021, 12:19pm UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038/4 "2021-05-22T12:19:37Z")

</div>

Did you install Mongod?

I didn’t do this course so I don’t know what commands Mosh executed.

---

<div class="post-metadata">

**Author:** ![AshutoshKumarChandel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ashutoshkumarchandel/32/1423_2.png) [@AshutoshKumarChandel](https://forum.codewithmosh.com/u/AshutoshKumarChandel)\
**Post date:** [May 22, 2021, 4:28pm UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038/5 "2021-05-22T16:28:08Z")

</div>

no william, i ll do it now. in mosh course installation of mongod is not shown.

he just showed us npm install mongodb

---

<div class="post-metadata">

**Author:** ![Kamatz](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@Kamatz](https://forum.codewithmosh.com/u/Kamatz)\
**Post date:** [May 24, 2021, 12:08pm UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038/6 "2021-05-24T12:08:44Z")

</div>

What I did was install MongoDB compass on their website which you can find here → [https://www.mongodb.com/try/download/database-tools](https://www.mongodb.com/try/download/database-tools). Add that to your environment variables. He has a video on how to do that already. They updated MongoDB to where you would have to download the tools, compass, etc… separately.

---

<div class="post-metadata">

**Author:** ![AshutoshKumarChandel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ashutoshkumarchandel/32/1423_2.png) [@AshutoshKumarChandel](https://forum.codewithmosh.com/u/AshutoshKumarChandel)\
**Post date:** [June 1, 2021, 3:49pm UTC](https://forum.codewithmosh.com/t/mongod-is-not-working/5038/7 "2021-06-01T15:49:50Z")

</div>

I really wish mosh updates his course on mongodb installation and startup
