Introduction
  • Setter and getter .gnvmrc file.
Command

Parameter not empty.

  • INIT - Initialization .gnvmrc file.
  • [props] - Get .gnvmrc props, include: registry noderoot globalversion latestversion.
  • registry
Flag
  • Not any Flag.
Usage
gnvm config                   :Print all propertys from .gnvmrc
gnvm config INIT              :Initialization .gnvmrc file
gnvm config [props]           :Get .gnvmrc props
gnvm config registry [custom] :Custom  is valid url
gnvm config registry DEFAULT  :DEFAULT is built-in variable. value is http://nodejs.org/dist/
gnvm config registry TAOBAO   :TAOBAO  is built-in variable. value is http://npm.taobao.org/mirrors/node
gnvm config registry test     :Validation .gnvmfile registry property
© ksria.com 2016 all right reserved,powered by GitbookPublish time: 2016-04-19 14:18:08