mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
45 lines
979 B
Markdown
45 lines
979 B
Markdown
# Installation
|
|
|
|
Verdaccio is a multiplatform web application, to install you need at least some prerequisites.
|
|
|
|
#### Prerequisites
|
|
|
|
* Node higher than **4.6.1**
|
|
* npm or yarn
|
|
|
|
|
|
## Installing the CLI
|
|
|
|
`Verdaccio` must be install globaly using any of the most modern
|
|
|
|
Using `npm`
|
|
|
|
```bash
|
|
npm install -g npm
|
|
|
|
```
|
|
or using `yarn`
|
|
|
|
```bash
|
|
yarn global add verdaccio
|
|
|
|
```
|
|
|
|
> Warning: Verdaccio current is not support PM2's cluster mode, run it with cluster mode may cause unknown behavior
|
|
|
|
## Basic Usage
|
|
|
|
Once has been installed you only need to execute the CLI command.
|
|
|
|
```bash
|
|
$> verdaccio
|
|
```
|
|
|
|

|
|
|
|
For more information about CLI please [read the cli section](cli.md).
|
|
|
|
## Docker Image
|
|
|
|
`verdaccio` has a official docker image you can use, in the most of cases is good enough just the default configuration, for more information about how to install the official image [read the docker section](docker.md).
|