-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make symlink to /usr/local/bin/node optional on OSX installer #389
Comments
+1, if you've installed node via homebrew, you can symlink the node binary again, but if you've used the official node.js installer, your binary is overwritten by the symlink. Symlinking should be an optional checkbox during the installation process. |
The symlink cannot be optional if you want to use |
It seems npm should add support for iojs |
Agree! I think it's a bit intrusive create an implicit symlink without asking |
I don't know if homebrew applies any special sauce but just skipping the symlink normally isn't enough to make joyent/node and io.js coexist, all the stuff that is installed to $prefix/share, $prefix/include/node, etc. conflicts. You have to install them to separate directories. |
This will answer your question #631 People think (and I was too) that iojs is different from node, but its just newer version of node, so if you want to install new version of node without breaking your current one, just use nvm. |
@nacholibre Thank you very much :) I'd suggest to put this information on FAQ, because the first thing coming to my mind is not how to install io.js, but how to switch between io.js and node.js. Don't know nvm can do that, I am always using n and I see @caitp in #631 mention "...NVM is pretty terrible, it's a pain in the ass..." lol . Thank you again :) |
"The symlink cannot be optional if you want to use npm". |
Closing as this is no longer relevant post-convergence. |
LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null mdoc warning: Empty input line nodejs#389
LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null mdoc warning: Empty input line #389 PR-URL: #20383 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null mdoc warning: Empty input line #389 PR-URL: #20383 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null mdoc warning: Empty input line #389 PR-URL: #20383 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null mdoc warning: Empty input line #389 PR-URL: #20383 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
In order to be able to run node and io.js in parallel and easily choose what to run, it would be nice if the OSX installer did not automatically create a symlink in /usr/local/bin/node.
The text was updated successfully, but these errors were encountered: