GitHub

@@ -8,30 +8,29 @@ npm is the world's largest software registry. Open source developers from every

8899

npm consists of three distinct components:

101011-

* the website

12-

* the Command Line Interface (CLI)

13-

* the registry

11+

- the website

12+

- the Command Line Interface (CLI)

13+

- the registry

141415-

Use the [*website*](https://npmjs.com) to discover packages, set up profiles, and manage other aspects of your npm experience. For example, you can set up [organizations](https://www.npmjs.com/features) to manage access to public or private packages.

15+

Use the [_website_](https://npmjs.com) to discover packages, set up profiles, and manage other aspects of your npm experience. For example, you can set up [organizations](https://www.npmjs.com/features) to manage access to public or private packages.

161617-

The [*CLI*](https://docs.npmjs.com/cli/npm) runs from a terminal, and is how most developers interact with npm.

18-19-

The [*registry*](https://docs.npmjs.com/misc/registry) is a large public database of JavaScript software and the meta-information surrounding it.

17+

The [_CLI_](https://docs.npmjs.com/cli/npm) runs from a terminal, and is how most developers interact with npm.

201819+

The [_registry_](https://docs.npmjs.com/misc/registry) is a large public database of JavaScript software and the meta-information surrounding it.

21202221

## Use npm to . . .

232224-

* Adapt packages of code for your apps, or incorporate packages as they are.

25-

* Download standalone tools you can use right away.

26-

* Run packages without downloading using [npx](https://docs.npmjs.com/cli/commands/npx).

27-

* Share code with any npm user, anywhere.

28-

* Restrict code to specific developers.

29-

* Create organizations to coordinate package maintenance, coding, and developers.

30-

* Form virtual teams by using organizations.

31-

* Manage multiple versions of code and code dependencies.

32-

* Update applications easily when underlying code is updated.

33-

* Discover multiple ways to solve the same puzzle.

34-

* Find other developers who are working on similar problems and projects.

23+

- Adapt packages of code for your apps, or incorporate packages as they are.

24+

- Download standalone tools you can use right away.

25+

- Run packages without downloading using [npx](https://docs.npmjs.com/cli/commands/npx).

26+

- Share code with any npm user, anywhere.

27+

- Restrict code to specific developers.

28+

- Create organizations to coordinate package maintenance, coding, and developers.

29+

- Form virtual teams by using organizations.

30+

- Manage multiple versions of code and code dependencies.

31+

- Update applications easily when underlying code is updated.

32+

- Discover multiple ways to solve the same puzzle.

33+

- Find other developers who are working on similar problems and projects.

35343635

## Getting started

3736

@@ -41,9 +40,9 @@ After you set up an npm account, the next step is to use the command line interf

41404241

## Sharing packages and collaborating with others

434244-

If you choose to share your packages publicly, there is no cost. To use and share private packages, you need to upgrade your account. To share with others, create organizations, called **[npm organizations][orgs-docs]**, and invite others to work with you, privately (for a fee) or publicly (for free).

43+

If you choose to share your packages publicly, there is no cost. To use and share private packages, you need to upgrade your account. To share with others, create organizations, called **[npm organizations][orgs-docs]**, and invite others to work with you, privately (for a fee) or publicly (for free).

454446-

You can also use a private npm package registry like [GitHub Packages](https://github.com/features/packages) or the open source [Verdaccio](https://verdaccio.org) project. This lets you develop packages internally that are not shared publicly.

45+

You can also use a private npm package registry like [GitHub Packages](https://github.com/features/packages) or the open source [Verdaccio](https://verdaccio.org) project. This lets you develop packages internally that are not shared publicly.

47464847

## Learn more

4948

@@ -55,7 +54,6 @@ For mentoring, tutorials, and learning, visit [node school](https://nodeschool.i

55545655

While relevant CLI commands are covered throughout this user documentation, the CLI includes command line help, its own [documentation section, and instant help (man pages)][cli-docs].

575658-5957

[orgs-docs]: /organizations

6058

[install-npm]: /downloading-and-installing-node-js-and-npm

6159

[cli-docs]: /cli-documentation

Read the original on github.com ↗