-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_install-windows.ps1
52 lines (47 loc) · 2.06 KB
/
run_install-windows.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
Write-Host "Request administrator access"
gsudo {
Write-Host "Update choco packages and modules"
choco upgrade all -y
Update-Module
Write-Host "`nInstall choco packages"
choco install bat delta dust fd fzf lf mingw ripgrep starship -y
Write-Host "`nInstall modules"
Install-Module git-aliases -Scope CurrentUser -Allowclobber
Install-Module posh-git -Scope CurrentUser -AllowClobber
Install-Module -Name Terminal-Icons -Repository PSGallery
Write-Host "`nSet execution policy"
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
}
Write-Host "Update winget packages"
winget upgrade --all
Write-Host("")
function wingetInstallIfNotInstalled($id) {
Write-Host("Install $id if not installed")
winget list --exact --id $id || winget install --exact --id $id --interactive
Write-Host("")
}
wingetInstallIfNotInstalled("7zip.7zip")
wingetInstallIfNotInstalled("ajeetdsouza.zoxide")
wingetInstallIfNotInstalled("Bitwarden.Bitwarden")
wingetInstallIfNotInstalled("code52.Carnac")
wingetInstallIfNotInstalled("Discord.Discord")
wingetInstallIfNotInstalled("Docker.DockerDesktop")
wingetInstallIfNotInstalled("Git.Git")
wingetInstallIfNotInstalled("gerardog.gsudo")
wingetInstallIfNotInstalled("JesseDuffield.lazygit")
wingetInstallIfNotInstalled("Logitech.GHUB")
wingetInstallIfNotInstalled("Logitech.LogiBolt")
wingetInstallIfNotInstalled("Logitech.LogiTune")
wingetInstallIfNotInstalled("Logitech.OptionsPlus")
wingetInstallIfNotInstalled("Logitech.UnifyingSoftware")
wingetInstallIfNotInstalled("Neovim.Neovim")
wingetInstallIfNotInstalled("Nextcloud.NextcloudDesktop")
wingetInstallIfNotInstalled("OpenJS.NodeJS.LTS")
wingetInstallIfNotInstalled("OpenVPNTechnologies.OpenVPNConnect")
wingetInstallIfNotInstalled("Poly.PlantronicsHub")
wingetInstallIfNotInstalled("SlackTechnologies.Slack")
wingetInstallIfNotInstalled("TeamViewer.TeamViewer")
wingetInstallIfNotInstalled("VPNetwork.TorGuard")
wingetInstallIfNotInstalled("JAMSoftware.TreeSize.Free")
wingetInstallIfNotInstalled("Microsoft.VisualStudioCode")
wingetInstallIfNotInstalled("Zoom.Zoom")