Code + Learn is an in-person (and free) event series where developers receive mentoring from Node.js Core contributors to learn the step-by-step process of contributing to Node.js Core.
Code & Learn events allow you to get started (or go further) with Node.js core contributions. Experienced contributors help guide you through your first (or second or third or fourth) commit to Node.js core. They also are available to provide impromptu guided tours through specific areas of Node.js core source code.
- If you don't already have one, create a GitHub account.
- Open the Node.js core repository web page.
- Use the "Fork" button to fork the repository:
- On the page for your own fork, use the "Clone or download" button and copy the URL for cloning to your clipboard:
- On the command line, in your home directory or a directory you have for projects, run:
git clone <paste that URL here>;
- When that is done:
cd node
- Then:
git remote add upstream https://github.com/nodejs/node.git
- Follow the instructions to build Node.js. You do not need to install the version of Node.js built with these instructions. Follow the instructions to build and test only. (You do not need to run the npm tests.)
- If you have not already done so, set git to use the name and email address you would like your commits to be credited to.
git config --global user.name "J. Q. User"
git config --global user.email "j.q.user@example.com"
- Look at issues in the Core repository labeled 'good first issue' to choose what'd you liked to jump into or visit #Node.js in IRC to get help with any of the above steps.
- After you have your first pull request open, you can look at the Next Steps page for suggestions on ways to find additional issues to work on.