0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/website/translated_docs/zh-Hans/install.md
verdacciobot 0c678b9158 docs: new Crowdin translations (#630)
docs: new Crowdin translations (#630)
2018-03-16 07:08:06 +01:00

1.2 KiB

id title
installation Installation

Verdaccio is a multiplatform web application. To install it, you need a few prerequisites.

最低要求:

  1. Node.js 版本
    • 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.
  2. npm >=3.x or yarn
  3. The web interface supports the Chrome, Firefox, Edge, and IE9 browsers.

安装

verdaccio must be installed globaly using either of the following methods:

使用 npm

npm install -g verdaccio

或使用 yarn

yarn global add verdaccio

基本使用

Once it has been installed, you only need to execute the CLI command:

$> verdaccio
warn --- config file  - /home/.config/verdaccio/config.yaml
warn --- http address - http://localhost:5555/ - verdaccio/3.0.0

For more information about the CLI, please read the cli section.

Docker 镜像

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.