You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added an install page (copied from existing online docs)
- Added a FeatureLink component to components/links.js
note: external link on features page has a hack for styling; that should probably be fixed, but want to get the copy to the team asap.
To publish and install packages to and from the public npm registry, you must install Node.js and the npm command line interface using either a Node version manager or a Node installer. **We strongly recommend using a Node version manager to install Node.js and npm.** We do not recommend using a Node installer, since the Node installation process installs npm in a directory with local permissions and can cause permissions errors when you run npm packages globally.
10
+
11
+
### Overview
12
+
13
+
-[Checking your version of npm and Node.js](#checking-your-version-of-npm-and-node-js)
14
+
-[Using a Node version manager to install Node.js and npm](#using-a-node-version-manager-to-install-node-js-and-npm)
15
+
-[Using a Node installer to install Node.js and npm](#using-a-node-installer-to-install-node-js-and-npm)
16
+
17
+
### Checking your version of npm and Node.js
18
+
19
+
To see if you already have Node.js and npm installed and check the installed version, run the following commands:
20
+
21
+
```
22
+
node -v
23
+
npm -v
24
+
```
25
+
26
+
### Using a Node version manager to install Node.js and npm
27
+
28
+
Node version managers allow you to install and switch between multiple versions of Node.js and npm on your system so you can test your applications on multiple versions of npm to ensure they work for users on different versions.
*[NodeSource installer](https://github.com/nodesource/distributions). If you use Linux, we recommend that you use a NodeSource installer.
46
+
47
+
#### OS X or Windows Node installers
48
+
49
+
If you're using OS X or Windows, use one of the installers from the [Node.js download page](https://nodejs.org/en/download/). Be sure to install the version labeled **LTS**. Other versions have not yet been tested with npm.
50
+
51
+
#### Linux or other operating systems Node installers
52
+
53
+
If you're using Linux or another operating system, use one of the following installers:
textOne: 'Nunc malesuada suscipit enim at feugiat. Duis id mauris lectus. Donec a sagittis lectus.',
24
-
textTwo: 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod Lorem ipsum dolor sit amet, tetuer adipiscing elit, sed diam nonummy nibmod'
25
+
textOne: 'Download, install, and configure.',
26
+
textTwo: 'All available npm commands.',
27
+
textThree: 'How npm things work.',
28
+
textFour: 'Publish your own public or private packages to the registry.'
0 commit comments