nvmw icon indicating copy to clipboard operation
nvmw copied to clipboard

Persist choice from 'nvmw use [...]'

Open yoannmoinet opened this issue 9 years ago • 35 comments

With these changes nvmw use [iojs|node] will persist in system path accross cmd's sessions. As quickly discussed in #42.

Here are the steps :

  • clean path from special characters
  • remove previous .nvmw paths
  • add back special characters
  • determine which iojs or node to get
  • set PATH and NODE_PATH in System Path (won't work if System Path is more than 1024 characters, silly windows)
  • set PATH and NODE_PATH in current cmd's session

Let me now if this is useful to anyone else.

yoannmoinet avatar Feb 20 '15 05:02 yoannmoinet