-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
Show n-install for installing n on Node.js downloads page #829
Comments
To see running locally, clone https://github.com/shadowspawn/nodejs.org/ And run:
|
I added explicit mention of the two home pages, since otherwise would be easy to assume that Any suggestions @mklement0 ? For comparison # Download and install fnm:
curl -o- https://fnm.vercel.app/install | bash
# Download and install Node.js:
fnm install 22
# Verify the Node.js version:
node -v # Should print "v22.13.1".
# Verify npm version:
npm -v # Should print "10.9.2". |
Thanks, @shadowspawn. Makes sense to make the instructions consistent, though I suggest perhaps adding a comment such as the following after # Omit the trailing '-' to instantly install the latest LTS version or specify version number(s) instead.
# Append -y to skip the confirmation prompt. |
Fair suggestions, thanks. I have been considering the instructions the last week, so a way longer reply than you might expect, with a bit of a mind dump on why I am leaning towards not adding more explanations. I have not used
I did experiment with supplying a version to
On the converse, I did wonder about suggesting that
I didn't realise there was going to be a confirmation when I first tried I feel like suppressing the prompt is an automation thing, and not the focus of the download page. So people should go look at the |
Understood; if adding a 2-line comment strikes you as too verbose, the rest of this comment is moot.
I just updated
Understood, which is why I suggested adding a comment only.
I've just updated
Personally, even for interactive use, I always want to know how to skip confirmation prompts, so this isn't just about scripted (automation) use. Again, my suggestion is merely to mention it in a comment. Having said all that, I do understand your desire to keep things consistent, concise, and presumably not to give special treatment to individual installation methods. Whatever you decide, I appreciate your efforts, and also for inspiring me to make some improvements. |
Woop! Thanks. |
Great - thank you. |
Opened PR: nodejs/nodejs.org#7498 |
Node.js has a new download page where users can get instructions on how to install Node.js in various ways:
I am thinking about adding instructions for
n
, and thinkn-install
might be the most self-contained way of installingn
for new users.Some related PRs:
Preflight issue on n-install:
The text was updated successfully, but these errors were encountered: