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 trialPranav Mathur
1,061 PointsUsing Angular CLI on my Linux machine, but it says "command 'ng' not found". How to go about it?
Node v8.10 NPM v3.5.2 Ubuntu 18.04
2 Answers
Alex Koumparos
Python Development Techdegree Student 36,887 PointsHi Pranav,
You don't provide any context, so I'm not sure how ng
was supposed to get onto your system, or what it's needed by. You can install it on Ubuntu 18.04 by typing sudo apt install ng-common
.
Hope that helps
Alex
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsMaybe install the angular cli globally? npm install -g @angular/cli
Pranav Mathur
1,061 PointsDid install angular cli globally, still..
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsCan you try installing it again just to double check? Make sure it's not giving giving you an error on the install.
Pranav Mathur
1,061 PointsPranav Mathur
1,061 PointsTrying to start a new Angular app using angular cli installed globally