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

Pranav Mathur
Pranav Mathur
1,061 Points

Using 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
seal-mask
.a{fill-rule:evenodd;}techdegree
Alex Koumparos
Python Development Techdegree Student 36,887 Points

Hi 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

Pranav Mathur
Pranav Mathur
1,061 Points

Trying to start a new Angular app using angular cli installed globally