Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Databases

Yosef VanTine
Yosef VanTine
8,880 Points

If you don't have a mac but want to use homebrew.

I don't have a Mac and I don't know about you, but I didn't want to have to install and languages manually, in this case mongo. Thankfully I didn't have to and you don't have to ether. You can use scoop. To install scoop open Command Prompt. Type powershell to open PowerShell from inside Command Prompt which is built into Windows Vista up:

powershell

or alternatively you can open up Power Shell directly by going to Start -> run -> Open: powershell (As Steven Parker pointed out). Then:

$ iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

Then install mongo, etc. like:

scoop install mongodb

1 Answer

Steven Parker
Steven Parker
229,670 Points

You can't run iex in a Command Prompt window.

You can only do this in Windows PowerShell (start -> run -> Open: powershell).

Yosef VanTine
Yosef VanTine
8,880 Points

Oops, thanks for pointing that out. I have updated the OP