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-Hant/cli.md
verdacciobot d1bed601b7 docs: update translations
docs: update translations
2018-01-21 00:04:36 +01:00

1.1 KiB

id title
cli Command Line Tool

The verdaccio CLI is your go start the application.

Commands

$ verdaccio --listen 4000 --config ~./config.yaml
Command Default Example Description
--listen \ -l 4873 -p 7000 http port
--config \ -c ~/.local/verdaccio/config.yaml ~./config.yaml the configuration file

Default config file location

To locate the home directory, we rely on $XDG_DATA_HOME as a first choice and Windows environment we look for APPDATA environment variable.

Default storage location

We use $XDG_DATA_HOME environment variable as default to locate the storage by default which should be the same as $HOME/.local/share. If you are using a custom storage, this location is irrelevant.