Supporting | License | Installing | Getting started | Updating | Credits
GitHub | Patreon | PayPal | Amazon
This software is distributed under the MIT license. Please read LICENSE for information.
Installing Chocolatey (Package Manager for Windows) [Recommended, Optional]
First, ensure that you are using an administrative shell - you can also install as a non-admin, check out Non-Administrative Installation.
Install with powershell.exe
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Other install methods can be found here.
Installing NVM for Windows
Installing NVM for Windows using Chocolatey (Package Manager for Windows)
choco install nvm
or
Download and install nvm-setup.exe from releases
Installing Node.js Version using NVM for Windows
$nvmrc = Get-Content .nvmrc
Invoke-Expression -Command "nvm install $nvmrc"
Invoke-Expression -Command "nvm use $nvmrc"
New-item –type file –force $profile
Function runNvmUse([string]$version) {
Invoke-Expression -Command "nvm use $version"
}
if (Test-Path .nvmrc) {
$nvmrc = Get-Content .nvmrc
$project_version = "v$nvmrc"
$current_version = Invoke-Expression -Command "node -v"
if ($project_version -ne $current_version) {
runNvmUse($nvmrc)
} else {
Write-Output "Already using node $current_version"
}
}
git clone https://github.com/robertsaupe/node-screenshots.git
cd node-screenshots/
npm install
modify example.js or create your own
then simple run:
node example.js
you can find screenshots in ./screenshots/
npm install -g npm-check-updates
ncu -u
npm install