Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
This is devRant. devRant is for rants and stories. What you want to use is Google, which is a search engine.
-
Kimmax111064yYou guys be shitting on StackOverflow for toxicity but can't even take half a second to help a newcomer. He even correctly tagged this as a question. Shame on you.
@anah you'll want to check the npm help pages: npm -h. Reading a bit you'll see the correct command for installing packages, which is install. The -g paramter tells npm to install globally, as-in, not project specific. Using this the packages commands will be available everywhere on your command line. So the correct command would be npm install -g @angular/cli.
For project dependencies you'll want to install project specific, for that you'll need to setup the npm project in the folder. Do this using npm init and follow the on screen steps. Make sure you're in your project root (folder) for future npm commands.
Have fun :) -
Marl3x27794y@Kimmax Sorry but I have to disagree. Angular has a great documentation that explains all the necessary steps. He just didn't bother looking for it himself.
@anah https://angular.io/guide/...
How to set up first app by using angular cli.. On windows I tried but it not executed proper...
question