Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install npm without node

I am starting a ASP.NET Core Web Application using Visual Studio 2015 and I would like to use AngularJs2 with TypeScript editing. In order for this to work I need to install the npm Package Manager. I would like to install npm without node since I will not use Node.js. Is there a way to do this?

like image 885
IonutC Avatar asked Jul 28 '16 08:07

IonutC


2 Answers

Simple answer to your questions is No.

NPM is a NodeJS Package Manager . As its name would imply, you can use it to install node programs.

This is a wiki defination of npm

Npm is the default package manager for the JavaScript runtime environment Node.js.

So, you need to install Node.js in order to run NPM. Hope this helps. Thank you.

like image 65
Abdul Moiz Khan Avatar answered Oct 11 '22 19:10

Abdul Moiz Khan


No, because npm is a program written in JavaScript, and without Node rather hard to run such programs on the server side (outside the browser).

like image 44
simhumileco Avatar answered Oct 11 '22 19:10

simhumileco