2017-12-16 13:31:02 +01:00
---
id: installation
2018-02-16 19:32:53 +01:00
title: "Instalação"
2017-12-16 13:31:02 +01:00
---
2018-03-16 07:08:06 +01:00
Verdaccio is a multiplatform web application. To install it, you need a few prerequisites.
2017-12-16 13:31:02 +01:00
2018-01-11 06:23:50 +01:00
#### Pré-requisitos
2017-12-16 13:31:02 +01:00
2018-01-11 06:23:50 +01:00
1. Node, acima da versão
2018-03-16 07:08:06 +01:00
- For version `verdaccio@2.x` Node `v4.6.1` is the minimum supported version.
2018-05-31 10:55:20 +02:00
- For version `verdaccio@latest` Node `6.12.0` is the minimum supported version.
2018-01-21 00:04:36 +01:00
2. npm `>=3.x` or `yarn`
2018-03-16 07:08:06 +01:00
3. The web interface supports the `Chrome, Firefox, Edge, and IE9` browsers.
2017-12-16 13:31:02 +01:00
2018-01-11 06:23:50 +01:00
## Instação
2017-12-16 13:31:02 +01:00
2018-03-16 07:08:06 +01:00
`verdaccio` must be installed globaly using either of the following methods:
2017-12-16 13:31:02 +01:00
2018-01-11 06:23:50 +01:00
Usando `npm`
2017-12-16 13:31:02 +01:00
```bash
npm install -g verdaccio
```
2018-01-11 06:23:50 +01:00
ou usando `yarn`
2017-12-16 13:31:02 +01:00
```bash
yarn global add verdaccio
```
2018-05-08 21:16:02 +02:00
![install verdaccio ](/svg/install_verdaccio.gif )
2018-05-06 09:12:13 +02:00
2018-01-11 06:23:50 +01:00
## Como Usar
2017-12-16 13:31:02 +01:00
2018-03-16 07:08:06 +01:00
Once it has been installed, you only need to execute the CLI command:
2017-12-16 13:31:02 +01:00
```bash
$> verdaccio
2018-01-06 23:13:38 +01:00
warn --- config file - /home/.config/verdaccio/config.yaml
2018-05-31 10:55:20 +02:00
warn --- http address - http://localhost:4873/ - verdaccio/3.0.1
2017-12-16 13:31:02 +01:00
```
2018-03-16 07:08:06 +01:00
For more information about the CLI, please [read the cli section ](cli.md ).
2017-12-16 13:31:02 +01:00
2018-01-11 06:23:50 +01:00
## Imagem do Docker
2017-12-16 13:31:02 +01:00
2018-08-24 09:23:30 +02: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 ).
## Cloudron
`verdaccio` is also available as a 1-click install on [Cloudron ](https://cloudron.io )
[![Install ](https://cloudron.io/img/button.svg )](https://cloudron.io/button.html?app=org.eggertsson.verdaccio)