-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathsetup-angular-dev.ps1
49 lines (39 loc) · 1.8 KB
/
setup-angular-dev.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
# Install chocolatey
Write-Host "Installing Chocolatey - 1/4" -ForegroundColor yellow
Set-ExecutionPolicy Bypass -Scope Process -Force;
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install googlechrome -y
choco install vscode -y
choco install dotnet-6.0-sdk -y
choco install azure-cli -y
choco install git -y
choco install gh -y
choco install curl -y
choco install nodejs-lts --version=16.15.0 -y
# Refresh Path Env
Write-Host "Refresh Path Env - 2/4" -ForegroundColor yellow
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# Install VS Code Extensions
Write-Host "VS Code Extensions - 3/4" -ForegroundColor yellow
code --install-extension ms-dotnettools.csharp
code --install-extension ms-vscode.azurecli
code --install-extension ms-vscode.azure-account
code --install-extension ms-azuretools.vscode-docker
code --install-extension GitHub.vscode-pull-request-github
code --install-extension angular.ng-template
code --install-extension 1tontech.angular-material
code --install-extension mikael.angular-beastcode
code --install-extension mdickin.markdown-shortcuts
code --install-extension mhutchie.git-graph
code --install-extension hbenl.vscode-test-explorer
code --install-extension raagh.angular-karma-test-explorer
code --install-extension xabikos.jasminesnippets
# Install NVM
Write-Host "Installing Node using NVM, Angular & json-server - 4/4" -ForegroundColor yellow
# Install Json-server
npm install -g json-server
# Install Node & Angular
npm i -g @angular/cli
# Finished Msg
Write-Host "Finished Software installation" -ForegroundColor yellow