Skip to content

Conversation

@JacobNWolf
Copy link

Description

Adds instructions to install, configure, and set up using Node.js via asdf, the multi-platform version manager that supports multiple languages, runtimes, and package managers. Additionally, this PR adds a .tool-versions file so contributors using asdf can easily get started with the repo with the proper and specific Node.js and pnpm versions.

Validation

image

Related Issues

Implements the changes approved in #8488.

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI review requested due to automatic review settings January 11, 2026 19:51
@JacobNWolf JacobNWolf requested a review from a team as a code owner January 11, 2026 19:51
@vercel
Copy link

vercel bot commented Jan 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nodejs-org Ready Ready Preview Jan 11, 2026 8:11pm

@github-actions
Copy link
Contributor

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for asdf, a cross-platform version manager, to the Node.js downloads page. It includes installation instructions, UI components, and configuration files to help contributors and users install Node.js using asdf.

Changes:

  • Added ASDF icon component and integrated it into the installation methods
  • Added English localization string describing asdf as a cross-platform version manager
  • Added asdf to the installation methods configuration with macOS and Linux compatibility
  • Created installation script with step-by-step asdf setup instructions
  • Added .tool-versions file for asdf users to easily configure the repository's Node.js and pnpm versions

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/ui-components/src/Icons/InstallationMethod/index.ts Exports the new ASDF icon component
packages/ui-components/src/Icons/InstallationMethod/ASDF.tsx New SVG icon component for asdf with purple branding
packages/i18n/src/locales/en.json Adds description of asdf as a cross-platform version manager
apps/site/util/download/constants.json Registers asdf as an installation method for macOS and Linux
apps/site/snippets/en/download/asdf.bash Provides installation instructions for asdf with Homebrew and ZSH
.tool-versions Specifies Node.js 24.12.0 and pnpm 10.24.0 for asdf users

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,4 +1,5 @@
import {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make our site work without needing an icon. Let me know if you'd like me to push a commit achieving that, if you need help.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I got that working, but wondering if we should make the text left aligned always? What's your preference?

Without the icon / special alignment/padding changes:
image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference:
image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the latter looks much better to me

@codecov
Copy link

codecov bot commented Jan 11, 2026

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 75.04%. Comparing base (0743e54) to head (df85d32).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
apps/site/util/download/index.tsx 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8533      +/-   ##
==========================================
+ Coverage   74.97%   75.04%   +0.06%     
==========================================
  Files         103      103              
  Lines        9036     9047      +11     
  Branches      312      312              
==========================================
+ Hits         6775     6789      +14     
+ Misses       2259     2255       -4     
- Partials        2        3       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants