forked from phtrong/ng-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-angular-dev.ps1
More file actions
56 lines (46 loc) · 2.14 KB
/
setup-angular-dev.ps1
File metadata and controls
56 lines (46 loc) · 2.14 KB
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
# Install chocolatey
Write-Host "Installing Chocolatey - 1/6" -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 microsoft-edge -y
choco install vscode -y
choco install dotnet-6.0-sdk -y
choco install nodejs-lts --version=14.18.0 -y
choco install azure-cli -y
choco install git -y
choco install gh -y
choco install gitextensions -y
choco install curl -y
choco install 7zip -y
# Intall VS Code Extensions
Write-Host "VS Code Extensions - 5/6" -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-azureappservice
code --install-extension ms-azuretools.vscode-docker
code --install-extension GitHub.vscode-pull-request-github
code --install-extension mhutchie.git-graph
code --install-extension mdickin.markdown-shortcuts
code --install-extension redhat.vscode-yaml
code --install-extension angular.ng-template
code --install-extension 1tontech.angular-material
code --install-extension mikael.angular-beastcode
code --install-extension xabikos.javascript
code --install-extension hbenl.vscode-test-explorer
code --install-extension raagh.angular-karma-test-explorer
code --install-extension connorshea/vscode-test-explorer-status-bar
code --install-extension wallabyjs.wallaby-vscode
# Refresh Path Env
Write-Host "Refresh Path Env - 4/6" -ForegroundColor yellow
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
# Install Angular
Write-Host "Installing Angular - 6/6" -ForegroundColor yellow
npx @angular/cli@latest analytics off
npm i -g @angular/cli json-server http-server
# Allow script execution (Angular CLI) in VS Code
Set-ExecutionPolicy unrestricted
# Finished Msg
Write-Host "Finished Software installation" -ForegroundColor yellow