Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (31 sloc) 1.6 KB

wnave

like nave but for windows (powershell) with a partial feature set

instructions

  1. download the wnave.ps1
  2. open a powershell
  3. run wnave.ps1

commands

  install <version>       Install node the version passed (ex: 0.6.0)
  uninstall <version>     Delete the install for <version>
  use <version>           enter a subshell where <version> is being used
  ls                      list local installed versions
  ls-remote               remote available versions

  npm-install <version>   Install npm the version passed (ex 1.1.60)
  npm-ls                  list remote available npm versions

<version> can be the string "latest" to get the latest distribution.
<version> can be the string "stable" to get the latest stable version.

Troubleshooting

File wnave.ps1 cannot be loaded because the execution of scripts is disabled on 
this system. Please see "get-help about_signing" for more details.

the easiest solution is to start a powershell as administrator and run

Set-ExecutionPolicy unrestricted

more information


Security Warning
Run only scripts that you trust. While scripts from the Internet can be useful, 
this script can potentially harm your computer. Do you want to run wnave.ps1?

run notepad <path-to-wnave>\wnave.ps1:Zone.Identifier and change the ZoneId to 0. maybe you have to close and reopen your powershell after this

more information