Skip to content


build: add 'no npm' install target #2200

bnoordhuis opened this Issue · 6 comments

4 participants


Shouldn't installing the bundled npm only be the default on Windows similar to OpenSSL?

Node.js Foundation member

It saves a step when setting up a new development environment on any type of system, which I found immediately useful.

Might make sense to make the default install target "smart" to only install npm if it isn't already installed and then have a mechanism for forcing the decision in either direction.

Another solution is to have a separate target that wraps 'curl | sh' called install-npm and mention it in the build instructions and possibly at the end of 'make install'.


I think that this should be a ./configure --without-npm option.


Since the previous default was not there, I guess I'd rather see it be --with-npm. Similar to how we don't default to installing the bundled OpenSSL or zlib libraries.

@isaacs isaacs referenced this issue in Homebrew/homebrew

Update node to 0.6.3 #8784


@rmustacc Well, sure, but we want to have npm installed by default when you do ./configure && make && sudo make install.

Node.js Foundation member

Fixed in 3ca0517.

@alexkwolfe alexkwolfe added a commit to alexkwolfe/node that referenced this issue
@bnoordhuis bnoordhuis build: add --without-npm flag to configure script
Fixes #2200.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.