docs: clarify that 'io.js' is the correct name
[platform/upstream/nodejs.git] / README.md
1 io.js
2 ===
3 [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/iojs/io.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4
5 This repository began as a GitHub fork of
6 [joyent/node](https://github.com/joyent/node).
7 io.js contributions, releases, and contributorship are under an
8 [open governance model](./CONTRIBUTING.md#governance).
9 We intend to land, with increasing regularity, releases which are
10 compatible with the npm ecosystem that has been built to date for node.js.
11
12 ### Is it io.js or IO.js or iojs or IOjs or iOjS?
13
14 The official name is **io.js**, which should never be capitalized,
15 especially not at the start of a sentence, unless it is being
16 displayed in a location that is customarily all-caps (such as
17 the title of man pages.)
18
19 ### To build:
20
21 Prerequisites (Unix only):
22
23 * `gcc` and `g++` 4.8 or newer, or
24 * `clang` and `clang++` 3.3 or newer
25 * Python 2.6 or 2.7
26 * GNU Make 3.81 or newer
27 * libexecinfo (FreeBSD and OpenBSD only)
28
29 Unix/Macintosh:
30
31 ```sh
32 ./configure
33 make
34 make install
35 ```
36
37 If your python binary is in a non-standard location or has a
38 non-standard name, run the following instead:
39
40 ```sh
41 export PYTHON=/path/to/python
42 $PYTHON ./configure
43 make
44 make install
45 ```
46
47 Prerequisites (Windows only):
48
49 * Python 2.6 or 2.7
50 * Visual Studio 2013 for Windows Desktop, or
51 * Visual Studio Express 2013 for Windows Desktop
52
53 Windows:
54
55 ```sh
56 vcbuild nosign
57 ```
58
59 You can download pre-built binaries for various operating systems from
60 [http://nodejs.org/download/](http://nodejs.org/download/).  The Windows
61 and OS X installers will prompt you for the location in which to install.
62 The tarballs are self-contained; you can extract them to a local directory
63 with:
64
65 ```sh
66 tar xzf /path/to/node-<version>-<platform>-<arch>.tar.gz
67 ```
68
69 Or system-wide with:
70
71 ```sh
72 cd /usr/local && tar --strip-components 1 -xzf \
73                     /path/to/node-<version>-<platform>-<arch>.tar.gz
74 ```
75
76 ### To run the tests:
77
78 Unix/Macintosh:
79
80 ```sh
81 make test
82 ```
83
84 Windows:
85
86 ```sh
87 vcbuild test
88 ```
89
90 ### To build the documentation:
91
92 ```sh
93 make doc
94 ```
95
96 ### To read the documentation:
97
98 ```sh
99 man doc/node.1
100 ```
101
102 ### To build `Intl` (ECMA-402) support:
103
104 *Note:* more docs, including how to reduce disk footprint, are on
105 [the wiki](https://github.com/joyent/node/wiki/Intl).
106
107 #### Use existing installed ICU (Unix/Macintosh only):
108
109 ```sh
110 pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
111 ```
112
113 #### Build ICU from source:
114
115 First: Unpack latest ICU
116   [icu4c-**##.#**-src.tgz](http://icu-project.org/download) (or `.zip`)
117   as `deps/icu` (You'll have: `deps/icu/source/...`)
118
119 Unix/Macintosh:
120
121 ```sh
122 ./configure --with-intl=full-icu
123 ```
124
125 Windows:
126
127 ```sh
128 vcbuild full-icu
129 ```
130
131 Resources for Newcomers
132 ---
133   - [The Wiki](https://github.com/joyent/node/wiki)
134   - [nodejs.org](http://nodejs.org/)
135   - [how to install node.js and npm (node package manager)](http://www.joyent.com/blog/installing-node-and-npm/)
136   - [list of modules](https://github.com/joyent/node/wiki/modules)
137   - [searching the npm registry](http://npmjs.org/)
138   - [list of companies and projects using node](https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node)
139   - [node.js mailing list](http://groups.google.com/group/nodejs)
140   - irc chatroom, [#io.js on freenode.net](http://webchat.freenode.net?channels=io.js&uio=d4)
141   - [community](https://github.com/joyent/node/wiki/Community)
142   - [contributing](https://github.com/joyent/node/wiki/Contributing)
143   - [big list of all the helpful wiki pages](https://github.com/joyent/node/wiki/_pages)