/
setup-choco.ps1
71 lines (65 loc) · 1.68 KB
/
setup-choco.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
#install choco
Write-Host "Installing/Updating Choco"
if ($null -eq (Get-Command -Name choco.exe -ErrorAction SilentlyContinue)) {
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'))
} else {
& choco update Chocolatey
}
Write-Host "Intstalling minimal setup"
& choco install `
7zip `
cascadia-code-nerd-font `
chocolateygui `
git `
oh-my-posh `
microsoft-windows-terminal `
notepadplusplus `
powertoys `
pwsh `
sysinternals `
which `
-y
# add tools
if ((Read-Host "Install dev tools: (y/N)").ToLower() -eq 'y') {
& choco install `
autohotkey.install `
azure-cli `
docker-desktop `
eartrumpet `
gh `
insomnia-rest-api-client `
linqpad `
nodejs-lts `
nswagstudio `
postman `
sudo `
vscode `
-y
}
if ((Read-Host "Install paid tools: (y/N)").ToLower() -eq 'y') {
& choco install `
1password `
camtasia `
office365proplus `
snagit `
visualstudio2019enterprise `
-y
}
if ((Read-Host "Install gaming apps: (y/N)").ToLower() -eq 'y') {
& choco install `
epicgameslauncher `
steam-client `
-y
}
if ((Read-Host "Install other apps: (y/N)").ToLower() -eq 'y') {
& choco install `
logitech-camera-settings `
logitech-options `
microsoft-teams `
paint.net `
obs-studio `
obs-virtualcam `
-y
}