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

zsh: command not found?

I've installed http-server and gulp but when I type http-server I get the response "zsh: command not found" and I'm not quite sure how to fix it.

2 Answers

Seth Kroger
Seth Kroger
56,414 Points

Are you sure you used the -g flag to install them globally?

I had the same problem. What finally fixed it for me was to install http-server with the following command: npm install http-server -g https://github.com/indexzero/http-server

I have to add that Huston's videos and courses are poorly explained and built. A lot of vital steps for beginners are left out, which can really discourage learning.