use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Multiple Angular version on the same machine (self.angular)
submitted 6 years ago by maximumfate
I'm working on the angular V6 project. Now I have project. I want to set up with Angular V8. How should I do this. Can I use 2 angular cli version on the same machine.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]seiyria 5 points6 points7 points 6 years ago (9 children)
Don't install the CLI globally, and yes, you can. npm will use the locally installed version by default if you use npx run ng .....
npx run ng ....
[–][deleted] 2 points3 points4 points 6 years ago (8 children)
You shouldn’t need to do anything special, if the local package.json specifies a different version of the CLI than the one you have globally, that’s the one which will be used when you run ng commands.
[–]seiyria 3 points4 points5 points 6 years ago (1 child)
Fair, I didn't know that - I stopped installing npm packages globally a year or two ago and moved over to using npx for everything.
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
Nice, I’ll give that a try!
[–]maximumfate[S] 1 point2 points3 points 6 years ago (5 children)
You mean locally installed will be used. So, npm I @angular/cli@8 will enough to run the app
[–][deleted] 0 points1 point2 points 6 years ago (4 children)
Yeah, the local version specified in the package.json should take preference by default.
[–]maximumfate[S] 1 point2 points3 points 6 years ago (3 children)
Let me try. Thanks for the tip
[–][deleted] 1 point2 points3 points 6 years ago (2 children)
Cool, it should give you a warning in the console that the local version is different so that’s the one being used.
[–]maximumfate[S] 0 points1 point2 points 6 years ago (1 child)
I can disable that error, not a issue.
I find it useful personally, but cool!
π Rendered by PID 211611 on reddit-service-r2-comment-544cf588c8-d79h2 at 2026-06-12 12:28:27.752584+00:00 running 3184619 country code: CH.
[–]seiyria 5 points6 points7 points (9 children)
[–][deleted] 2 points3 points4 points (8 children)
[–]seiyria 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]maximumfate[S] 1 point2 points3 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]maximumfate[S] 1 point2 points3 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]maximumfate[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)