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 trialJesse Lawson
11,159 Pointswhen I want to create a web app do I mkdir somewhere under my home path?
I guess what I am wondering is...
I want to make a new app. Do I make a dir on desktop or something then download everything into that dir? Like $ cd myNewApp? Then once I'm in my new app directory I download everything? node, npm, angular, react, grunt, gulp, etc...into that new dir?
Or do I get all that stuff downloaded and THEN make $mkdir myNewApp and link to the needed programming
2 Answers
elk6
22,916 PointsHi Jesse,
mkdir first and download the stuff you need to that folder.
But you can make a dir wherever you want. You are no restricted to the home directory or anything. Make a dir wherever it suits you best and start from there.
Elian
Sue Dough
35,800 PointsMake your directory mkdir test
cd test
Then you start adding stuff like npm, grunt, bower, etc
Jesse Lawson
11,159 PointsJesse Lawson
11,159 Pointsso when i installed homebrew and it created the dir's under it. It is sugjusting build under there for safety.
do I have to download homebrew for every app?
node?