-
Notifications
You must be signed in to change notification settings - Fork 0
/
node.ps1
72 lines (64 loc) · 3.16 KB
/
node.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
echo "Checking Available Node.js Versions"
nvm list available
echo "Installing Node.js LTS 12.18.3"
nvm install 12.18.3
echo "Checking Node Installed Versions"
nvm list
echo "Selecting Node Version to Use"
nvm use 12.18.3
echo "Checking Node Version"
node --version
npm --version
echo "Install Npm Completion"
Install-Module -Name npm-completion -Force
Add-Content $profile -value "Import-Module npm-completion"
#npm install --global --production windows-build-tools
#npm config set msvs_version 2015 --global
#npm config set python python2.7
#npm install -g http-server
#npm install -g electron
#echo "Installation Node"
#choco install -y nodejs.install
#choco install -y python2
#choco install -y yarn
#choco install -y microsoft-build-tools-2013
#
#echo "Packages And Configuration"
#$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
##npm install --global --production windows-build-tools
##npm config set msvs_version 2015 --global
##npm config set python python2.7
#npm install -g http-server
#npm install -g electron
# SIG # Begin signature block
# MIIFfwYJKoZIhvcNAQcCoIIFcDCCBWwCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUcjbMA678EAmbVSCCeJVwoOFw
# LO2gggMUMIIDEDCCAfigAwIBAgIQEt8fR2Y16oVNsrl51ayDBTANBgkqhkiG9w0B
# AQUFADAgMR4wHAYDVQQDDBVzYXVsb0BwYXJhbGluay5jb20uYnIwHhcNMjAwMjI0
# MTE1NjMyWhcNMjUwMjI0MTIwNjMyWjAgMR4wHAYDVQQDDB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