Fork the repository
Go to github.com/nodejs/nodejs.org and click the Fork button in the top-right corner to create a copy under your GitHub account.
Clone your fork
Clone your fork to your local machine. Choose the method that matches how you authenticate with GitHub:Then navigate into the project directory:
Add the upstream remote
Add the original Verify your remotes are configured correctly:You should see both
nodejs/nodejs.org repository as an upstream remote so you can keep your fork in sync.origin (your fork) and upstream (the main repository) listed.Install dependencies
Install all project dependencies using pnpm with the frozen lockfile flag to ensure consistent installs:
The
--frozen-lockfile flag ensures your local install matches the exact dependency versions recorded in pnpm-lock.yaml. This keeps your environment consistent with CI and other contributors.