2017-12-16 07:31:02 -05:00
---
id: installation
2018-02-16 13:32:53 -05:00
title: "Instalação"
2017-12-16 07:31:02 -05:00
---
2018-03-16 01:08:06 -05:00
Verdaccio is a multiplatform web application. To install it, you need a few prerequisites.
2017-12-16 07:31:02 -05:00
2018-01-11 00:23:50 -05:00
#### Pré-requisitos
2017-12-16 07:31:02 -05:00
2018-01-11 00:23:50 -05:00
1. Node, acima da versão
2018-03-16 01:08:06 -05:00
- For version `verdaccio@2.x` Node `v4.6.1` is the minimum supported version.
- For version `verdaccio@3.x` Node `6.12.0` is the minimum supported version.
2018-01-20 18:04:36 -05:00
2. npm `>=3.x` or `yarn`
2018-03-16 01:08:06 -05:00
3. The web interface supports the `Chrome, Firefox, Edge, and IE9` browsers.
2017-12-16 07:31:02 -05:00
2018-01-11 00:23:50 -05:00
## Instação
2017-12-16 07:31:02 -05:00
2018-03-16 01:08:06 -05:00
`verdaccio` must be installed globaly using either of the following methods:
2017-12-16 07:31:02 -05:00
2018-01-11 00:23:50 -05:00
Usando `npm`
2017-12-16 07:31:02 -05:00
```bash
npm install -g verdaccio
```
2018-01-11 00:23:50 -05:00
ou usando `yarn`
2017-12-16 07:31:02 -05:00
```bash
yarn global add verdaccio
```
2018-01-11 00:23:50 -05:00
## Como Usar
2017-12-16 07:31:02 -05:00
2018-03-16 01:08:06 -05:00
Once it has been installed, you only need to execute the CLI command:
2017-12-16 07:31:02 -05:00
```bash
$> verdaccio
2018-01-06 17:13:38 -05:00
warn --- config file - /home/.config/verdaccio/config.yaml
warn --- http address - http://localhost:5555/ - verdaccio/3.0.0
2017-12-16 07:31:02 -05:00
```
![](https://cdn-images-1.medium.com/max/720/1*jDHnZ7_68u5s1lFK2cygnA.gif)
2018-03-16 01:08:06 -05:00
For more information about the CLI, please [read the cli section ](cli.md ).
2017-12-16 07:31:02 -05:00
2018-01-11 00:23:50 -05:00
## Imagem do Docker
2017-12-16 07:31:02 -05:00
2018-03-16 01:08:06 -05:00
`verdaccio` has an official docker image you can use, and in most cases, the default configuration is good enough. For more information about how to install the official image, [read the docker section ](docker.md ).