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 trialKathryn Notson
25,941 PointsUser Authentication with Express and Mongo > User Registration > Adding Data to the Database
The instructor uses 3 tabs in his terminal/console or Command Prompt. He's using Mac OS 10. How does someone get multiple tabs to appear in Windows 10 Command Prompt or Linux terminal/console? I haven't seen any Team Treehouse instructions on this particular issue.
Kathryn Notson
25,941 PointsI'm using Windows 10 Command Prompt. I'm not using Windows PowerShell. That's a different creature.
Why do you need to run npm & dependencies in different tabs? This isn't explained, either.
3 Answers
Richard Scott
25,647 PointsIt's more an issue when you're using mongodb i think, when you've got the mongo deamon running you can't interact with the terminal in that particular session so you need another one to poke around with :)
Kathryn Notson
25,941 PointsRichard Scott:
O.K., that by itself makes sense. You can't interfere with the MongoDB at all while it's running, or else you'll mess up your app.
Richard Scott
25,647 Pointsthere's 2 different services width mongodb - the mongo deamon which loads up the database and the mongo.exe which lets you interrogate the db- I think having multiple tabs just makes it easier to work with as you can leave the service open without having to control + c out of it and then start it up again after you've been working in the console.
Kathryn Notson
25,941 PointsRichard Scott:
O.K. I know that I have to use mongo.exe (Windows 10) instead of "mongod" for the mongo daemon.
I could press Ctrl + C (^C) to exit mongo, but it's inconvenient to exit the database & then restart it multiple times in a Windows Command Prompt. It's just easier to use a multiple tabbed Command Prompt.
Makes me wonder why Microsoft didn't design their Windows 10 Command Prompt with multiple tabs for web design/development or software development to begin with.
Richard Scott
25,647 Pointsyeah I agree, it does seem like apple products are more developer friendly, and it can be hard to follow when most of the tuturials are done on macs. I've been toying with the idea of switching to a macbook for my developemnt learning, just a shame they're so expensive!
Kathryn Notson
25,941 PointsRichard Scott:
This video says to run npm, nodemon, & mongo.exe (instead of mongo or mongod for mongo daemon) in separate tabs.
I've owned my Windows 10 OS laptop for 7 months. I've never used Apple MacIntosh computers.
Richard Scott
25,647 PointsRichard Scott
25,647 Pointsvisual studio code (a free code editor from microsoft) has an intergrated powershell terminal which you can open up multiple tabs with, but powershell commands seem to be different to the regular command prompt. Failing that you can just open up as many different command prompts as you need, although that can get abit messy!