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

JavaScript Gulp Basics Welcome to Gulp.js Installing Gulp

Why should i download gulp globally?

I found one wierd thing in this video . We have to download gulp. That is fine, but what is global and local?.What is the use of it. And you have to mention that what have to we do if we want particular version of Gulp. You did not mention that. Also i am very new person to this topic called Gulp. So to me this video is really hard to understand.It's like dreaming.Really i feel so hard to catch you up. I can't even understand some of your commands used in terminal. And you have to say what terminal you use ..And what are the terminals we can use. YOu should have to mentioned that. Because when i run the which command in command prompt it said that this is unknown command.

2 Answers

Linas Mackonis
Linas Mackonis
7,071 Points

It is debatable topic, why to install Gulp globally, I cannot explain many sides of this topic, but if you need to do only things that are done in this tutorial. You can skip the global install. Local installs are fine.

Speaking about the terminal, it depends whether you use Mac or Windows. If you are a Windows user like me. I'd recommend you using Git Bash

Thanks man

Truong Minh Nguyen
Truong Minh Nguyen
12,587 Points

I think you don't need to install gulp globally but you do need to install gulp-cli globally, otherwise you may come across the error: "gulp: command not found"