5 [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/nodejs/node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7 This repository began as a GitHub fork of
8 [joyent/node](https://github.com/joyent/node).
10 Node.js contributions, releases, and contributorship are under an
11 [open governance model](./GOVERNANCE.md).
12 We intend to land, with increasing regularity, releases which are
13 compatible with the npm ecosystem that has been built to date for
18 Binaries, installers, and source tarballs are available at
21 **Releases** are available at <https://nodejs.org/dist/>, listed under
22 their version string. The <https://nodejs.org/dist/latest/> symlink
23 will point to the latest release directory.
25 **Nightly** builds are available at
26 <https://nodejs.org/download/nightly/>, listed under their version
27 string which includes their date (in UTC time) and the commit SHA at
28 the HEAD of the release.
30 **API documentation** is available in each release and nightly
31 directory under _docs_. <https://nodejs.org/api/> points to the latest version.
33 ### Verifying Binaries
35 Release and nightly download directories all contain a *SHASUM256.txt*
36 file that lists the SHA checksums for each file available for
37 download. To check that a downloaded file matches the checksum, run
38 it through `sha256sum` with a command such as:
41 $ grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -
44 _(Where "node-vx.y.z.tar.gz" is the name of the file you have
47 Additionally, releases (not nightlies) have GPG signed copies of
48 SHASUM256.txt files available as SHASUM256.txt.asc. You can use `gpg`
49 to verify that the file has not been tampered with.
51 To verify a SHASUM256.txt.asc, you will first need to import all of
52 the GPG keys of individuals authorized to create releases. They are
53 listed at the bottom of this README. Use a command such as this to
57 $ gpg --keyserver pool.sks-keyservers.net \
58 --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
61 _(Include each of the key fingerprints at the end of this command.)_
63 You can then use `gpg --verify SHASUMS256.txt.asc` to verify that the
64 file has been signed by an authorized member of the Node.js team.
66 Once verified, use the SHASUMS256.txt.asc file to get the checksum for
67 the binary verification command above.
75 * `gcc` and `g++` 4.8 or newer, or
76 * `clang` and `clang++` 3.4 or newer
78 * GNU Make 3.81 or newer
79 * libexecinfo (FreeBSD and OpenBSD only)
87 If your Python binary is in a non-standard location or has a
88 non-standard name, run the following instead:
91 $ export PYTHON=/path/to/python
103 To build the documentation:
109 To read the documentation:
115 To test if Node.js was built correctly:
118 $ node -e "console.log('Hello from node.js ' + process.version)"
125 * [Python 2.6 or 2.7](https://www.python.org/downloads/)
126 * Visual Studio 2013 for Windows Desktop, or
127 * Visual Studio Express 2013 for Windows Desktop
128 * Basic Unix tools required for some tests,
129 [Git for Windows](http://git-scm.com/download/win) includes Git Bash
130 and tools which can be included in the global `PATH`.
142 To test if Node.js was built correctly:
145 $ node -e "console.log('Hello from node.js ' + process.version)"
148 ### Android / Android based devices, aka. Firefox OS
150 Be sure you have downloaded and extracted [Android NDK]
151 (https://developer.android.com/tools/sdk/ndk/index.html)
152 before in a folder. Then run:
155 $ ./android-configure /path/to/your/android-ndk
159 ### `Intl` (ECMA-402) support:
161 [Intl](https://github.com/joyent/node/wiki/Intl) support is not
164 #### "small" (English only) support
166 This option will build with "small" (English only) support, but
167 the full `Intl` (ECMA-402) APIs. With `--download=all` it will
168 download the ICU library as needed.
173 $ ./configure --with-intl=small-icu --download=all
179 > vcbuild small-icu download-all
182 The `small-icu` mode builds with English-only data. You can add full
185 *Note:* more docs are on
186 [the joyent/node wiki](https://github.com/joyent/node/wiki/Intl).
188 #### Build with full ICU support (all locales supported by ICU):
190 With the `--download=all`, this may download ICU if you don't have an
196 $ ./configure --with-intl=full-icu --download=all
202 > vcbuild full-icu download-all
205 #### Build with no Intl support `:-(`
207 The `Intl` object will not be available. This is the default at
208 present, so this option is not normally needed.
213 $ ./configure --with-intl=none
222 #### Use existing installed ICU (Unix / Macintosh only):
225 $ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
228 #### Build with a specific ICU:
230 You can find other ICU releases at
231 [the ICU homepage](http://icu-project.org/download).
232 Download the file named something like `icu4c-**##.#**-src.tgz` (or
238 # from an already-unpacked ICU:
239 $ ./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu
241 # from a local ICU tarball
242 $ ./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu.tgz
245 $ ./configure --with-intl=full-icu --with-icu-source=http://url/to/icu.tgz
250 First unpack latest ICU to `deps/icu`
251 [icu4c-**##.#**-src.tgz](http://icu-project.org/download) (or `.zip`)
252 as `deps/icu` (You'll have: `deps/icu/source/...`)
258 # Building Node.js with FIPS-compliant OpenSSL
260 NOTE: Windows is not yet supported
262 It is possible to build Node.js with
263 [OpenSSL FIPS module](https://www.openssl.org/docs/fips/fipsnotes.html).
265 **Note** that building in this way does **not** allow you to
266 claim that the runtime is FIPS 140-2 validated. Instead you
267 can indicate that the runtime uses a validated module. See
268 the [security policy]
269 (http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf)
270 page 60 for more details. In addition, the validation for
271 the underlying module is only valid if it is deployed in
272 accordance with its [security policy]
273 (http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf).
274 If you need FIPS validated cryptography it is recommended that you
275 read both the [security policy]
276 (http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf)
277 and [user guide] (https://openssl.org/docs/fips/UserGuide-2.0.pdf).
281 1. Obtain a copy of openssl-fips-x.x.x.tar.gz.
282 To comply with the security policy you must ensure the path
283 through which you get the file complies with the requirements
284 for a "secure intallation" as described in section 6.6 in
285 the [user guide] (https://openssl.org/docs/fips/UserGuide-2.0.pdf).
286 For evaluation/experimentation you can simply download and verify
287 `openssl-fips-x.x.x.tar.gz` from https://www.openssl.org/source/
288 2. Extract source to `openssl-fips` folder and `cd openssl-fips`
292 (NOTE: to comply with the security policy you must use the exact
293 commands in steps 3-5 without any additional options as per
294 Appendix A in the [security policy]
295 (http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf).
296 The only exception is that `./config no-asm` can be
297 used in place of `./config` )
298 6. Get into Node.js checkout folder
299 7. `./configure --openssl-fips=/path/to/openssl-fips/installdir`
300 For example on ubuntu 12 the installation directory was
301 /usr/local/ssl/fips-2.0
302 8. Build Node.js with `make -j`
303 9. Verify with `node -p "process.versions.openssl"` (`1.0.2a-fips`)
305 ## Resources for Newcomers
307 * [CONTRIBUTING.md](./CONTRIBUTING.md)
308 * [GOVERNANCE.md](./GOVERNANCE.md)
310 [#io.js on Freenode.net](http://webchat.freenode.net?channels=io.js&uio=d4)
311 * [nodejs/node on Gitter](https://gitter.im/nodejs/node)
315 All security bugs in node.js are taken seriously and should be reported by
316 emailing security@nodejs.org. This will be delivered to a subset of the project
317 team who handle security issues. Please don't disclose security bugs
318 public until they have been handled by the security team.
320 Your email will be acknowledged within 24 hours, and you’ll receive a more
321 detailed response to your email within 48 hours indicating the next steps in
322 handling your report.
324 ## Current Project Team Members
326 The Node.js project team comprises a group of core collaborators and a sub-group
327 that forms the _Technical Steering Committee_ (TSC) which governs the project. For more
328 information about the governance of the Node.js project, see
329 [GOVERNANCE.md](./GOVERNANCE.md).
332 ### TSC (Technical Steering Committee)
334 * **Ben Noordhuis** <info@bnoordhuis.nl> ([@bnoordhuis](https://github.com/bnoordhuis))
335 * **Bert Belder** <bertbelder@gmail.com> ([@piscisaureus](https://github.com/piscisaureus))
336 * **Fedor Indutny** <fedor.indutny@gmail.com> ([@indutny](https://github.com/indutny))
337 * **Trevor Norris** <trev.norris@gmail.com> ([@trevnorris](https://github.com/trevnorris))
338 * **Chris Dickinson** <christopher.s.dickinson@gmail.com> ([@chrisdickinson](https://github.com/chrisdickinson))
339 - Release GPG key: 9554F04D7259F04124DE6B476D5A82AC7E37093B
340 * **Rod Vagg** <rod@vagg.org> ([@rvagg](https://github.com/rvagg))
341 - Release GPG key: DD8F2338BAE7501E3DD5AC78C273792F7D83545D
342 * **Jeremiah Senkpiel** <fishrock123@rocketmail.com> ([@fishrock123](https://github.com/fishrock123))
343 - Release GPG key: FD3A5288F042B6850C66B31F09FE44734EB7990E
344 * **Colin Ihrig** <cjihrig@gmail.com> ([@cjihrig](https://github.com/cjihrig))
345 - Release GPG key: 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
346 * **Alexis Campailla** <orangemocha@nodejs.org> ([@orangemocha](https://github.com/orangemocha))
347 * **Julien Gilli** <jgilli@nodejs.org> ([@misterdjules](https://github.com/misterdjules))
348 * **James M Snell** <jasnell@gmail.com> ([@jasnell](https://github.com/jasnell))
349 * **Steven R Loomis** <srloomis@us.ibm.com> ([@srl295](https://github.com/srl295))
350 * **Michael Dawson** <michael_dawson@ca.ibm.com> ([@mhdawson](https://github.com/mhdawson))
351 * **Shigeki Ohtsu** <ohtsu@iij.ad.jp> ([@shigeki](https://github.com/shigeki))
352 * **Brian White** <mscdex@mscdex.net> ([@mscdex](https://github.com/mscdex))
356 * **Isaac Z. Schlueter** <i@izs.me> ([@isaacs](https://github.com/isaacs))
357 * **Mikeal Rogers** <mikeal.rogers@gmail.com> ([@mikeal](https://github.com/mikeal))
358 * **Thorsten Lorenz** <thlorenz@gmx.de> ([@thlorenz](https://github.com/thlorenz))
359 * **Stephen Belanger** <admin@stephenbelanger.com> ([@qard](https://github.com/qard))
360 * **Evan Lucas** <evanlucas@me.com> ([@evanlucas](https://github.com/evanlucas))
361 * **Brendan Ashworth** <brendan.ashworth@me.com> ([@brendanashworth](https://github.com/brendanashworth))
362 * **Vladimir Kurchatkin** <vladimir.kurchatkin@gmail.com> ([@vkurchatkin](https://github.com/vkurchatkin))
363 * **Nikolai Vavilov** <vvnicholas@gmail.com> ([@seishun](https://github.com/seishun))
364 * **Nicu Micleușanu** <micnic90@gmail.com> ([@micnic](https://github.com/micnic))
365 * **Aleksey Smolenchuk** <lxe@lxe.co> ([@lxe](https://github.com/lxe))
366 * **Sam Roberts** <vieuxtech@gmail.com> ([@sam-github](https://github.com/sam-github))
367 * **Wyatt Preul** <wpreul@gmail.com> ([@geek](https://github.com/geek))
368 * **Christian Tellnes** <christian@tellnes.no> ([@tellnes](https://github.com/tellnes))
369 * **Robert Kowalski** <rok@kowalski.gd> ([@robertkowalski](https://github.com/robertkowalski))
370 * **Julian Duque** <julianduquej@gmail.com> ([@julianduque](https://github.com/julianduque))
371 * **Johan Bergström** <bugs@bergstroem.nu> ([@jbergstroem](https://github.com/jbergstroem))
372 * **Roman Reiss** <me@silverwind.io> ([@silverwind](https://github.com/silverwind))
373 * **Petka Antonov** <petka_antonov@hotmail.com> ([@petkaantonov](https://github.com/petkaantonov))
374 * **Yosuke Furukawa** <yosuke.furukawa@gmail.com> ([@yosuke-furukawa](https://github.com/yosuke-furukawa))
375 * **Alex Kocharin** <alex@kocharin.ru> ([@rlidwka](https://github.com/rlidwka))
376 * **Christopher Monsanto** <chris@monsan.to> ([@monsanto](https://github.com/monsanto))
377 * **Ali Ijaz Sheikh** <ofrobots@google.com> ([@ofrobots](https://github.com/ofrobots))
378 * **Oleg Elifantiev** <oleg@elifantiev.ru> ([@Olegas](https://github.com/Olegas))
379 * **Domenic Denicola** <d@domenic.me> ([@domenic](https://github.com/domenic))
380 * **Rich Trott** <rtrott@gmail.com> ([@Trott](https://github.com/Trott))
381 * **Сковорода Никита Андреевич** <chalkerx@gmail.com> ([@ChALkeR](https://github.com/ChALkeR))
382 * **Sakthipriyan Vairamani** <thechargingvolcano@gmail.com> ([@thefourtheye](https://github.com/thefourtheye))
383 * **Michaël Zasso** <mic.besace@gmail.com> ([@targos](https://github.com/targos))
384 * **João Reis** <reis@janeasystems.com> ([@joaocgreis](https://github.com/joaocgreis))
386 Collaborators & TSC members follow the [COLLABORATOR_GUIDE.md](./COLLABORATOR_GUIDE.md) in
387 maintaining the Node.js project.