Skip to content

Commit

Permalink
packages_install.ps1 - try fixing CI timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay authored Oct 12, 2023
1 parent 4fdc929 commit 43ed8ba
Showing 1 changed file with 47 additions and 46 deletions.
93 changes: 47 additions & 46 deletions Windows_10/packages_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,82 +15,83 @@
# TODO other relevant drivers
# TODO add useful packages from here: https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md
# TODO add `--silent` and `--disable-interactivity` options to `winget install` commands? https://learn.microsoft.com/en-us/windows/package-manager/winget/install
# TODO rewrite (package list and a single install command)

Set-PSDebug -Trace 1
$ErrorActionPreference = "Stop"

# Web browsers
winget install --accept-source-agreements --accept-package-agreements -e --id Mozilla.Firefox
winget install --accept-source-agreements --accept-package-agreements -e --id Google.Chrome
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Mozilla.Firefox
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Google.Chrome

# Utils
winget install --accept-source-agreements --accept-package-agreements -e --id VMware.WorkstationPlayer # broken
winget install --accept-source-agreements --accept-package-agreements -e --id WinDirStat.WinDirStat
winget install --accept-source-agreements --accept-package-agreements -e --id Docker.DockerDesktop
winget install --accept-source-agreements --accept-package-agreements -e --id XAMPPRocky.tokei # broken?
winget install --accept-source-agreements --accept-package-agreements -e --id 7zip.7zip
winget install --accept-source-agreements --accept-package-agreements -e --id Ookla.Speedtest.Desktop
winget install --accept-source-agreements --accept-package-agreements -e --id AltSnap.AltSnap
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id VMware.WorkstationPlayer # broken
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id WinDirStat.WinDirStat
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Docker.DockerDesktop
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id XAMPPRocky.tokei # broken?
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id 7zip.7zip
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Ookla.Speedtest.Desktop
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id AltSnap.AltSnap
# TODO add relevant sysinternals packages (see `winget search sysinternals`)


# Version controll
winget install --accept-source-agreements --accept-package-agreements -e --id GitHub.cli
winget install --accept-source-agreements --accept-package-agreements -e --id Git.Git
winget install --accept-source-agreements --accept-package-agreements -e --id GitHub.GitHubDesktop
winget install --accept-source-agreements --accept-package-agreements -e --id GitExtensionsTeam.GitExtensions
winget install --accept-source-agreements --accept-package-agreements -e --id o2sh.onefetch
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id GitHub.cli
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Git.Git
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id GitHub.GitHubDesktop
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id GitExtensionsTeam.GitExtensions
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id o2sh.onefetch

# Drivers and HW support
winget install --accept-source-agreements --accept-package-agreements -e --id Logitech.OptionsPlus
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Logitech.OptionsPlus

# Code editors
winget install --accept-source-agreements --accept-package-agreements -e --id Microsoft.VisualStudioCode
winget install --accept-source-agreements --accept-package-agreements -e --id Neovim.Neovim
winget install --accept-source-agreements --accept-package-agreements -e --id Helix.Helix
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Microsoft.VisualStudioCode
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Neovim.Neovim
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Helix.Helix

# Terminal emulators
winget install --accept-source-agreements --accept-package-agreements -e --id Microsoft.WindowsTerminal
winget install --accept-source-agreements --accept-package-agreements -e --id Maximus5.ConEmu
winget install --accept-source-agreements --accept-package-agreements -e --id Eugeny.Tabby
winget install --accept-source-agreements --accept-package-agreements -e --id Alacritty.Alacritty
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Microsoft.WindowsTerminal
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Maximus5.ConEmu
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Eugeny.Tabby
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Alacritty.Alacritty

# compilers, build tools and interpreters
winget install --accept-source-agreements --accept-package-agreements -e --id Python.Python.3.12
winget install --accept-source-agreements --accept-package-agreements -e --id LLVM.LLVM
winget install --accept-source-agreements --accept-package-agreements -e --id JFrog.Conan
winget install --accept-source-agreements --accept-package-agreements -e --id Kitware.CMake
winget install --accept-source-agreements --accept-package-agreements -e --id Ninja-build.Ninja
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Python.Python.3.12
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id LLVM.LLVM
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id JFrog.Conan
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Kitware.CMake
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Ninja-build.Ninja

# Office work
winget install --accept-source-agreements --accept-package-agreements -e --id Adobe.Acrobat.Reader.64-bit
winget install --accept-source-agreements --accept-package-agreements -e --id TrackerSoftware.PDF-XChangeEditor
winget install --accept-source-agreements --accept-package-agreements -e --id KDE.Okular
winget install --accept-source-agreements --accept-package-agreements -e --id TheDocumentFoundation.LibreOffice
winget install --accept-source-agreements --accept-package-agreements -e --id Amazon.Kindle
winget install --accept-source-agreements --accept-package-agreements -e --id Grammarly.Grammarly
winget install --accept-source-agreements --accept-package-agreements -e --id calibre.calibre
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Adobe.Acrobat.Reader.64-bit
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id TrackerSoftware.PDF-XChangeEditor
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id KDE.Okular
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id TheDocumentFoundation.LibreOffice
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Amazon.Kindle
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Grammarly.Grammarly
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id calibre.calibre

# Desktop environment extensions and tools
winget install --accept-source-agreements --accept-package-agreements -e --id Microsoft.PowerToys
winget install --accept-source-agreements --accept-package-agreements -e --id AutoHotkey.AutoHotkey
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Microsoft.PowerToys
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id AutoHotkey.AutoHotkey

# Messaging and videoconferencing apps
winget install --accept-source-agreements --accept-package-agreements -e --id OpenWhisperSystems.Signal
winget install --accept-source-agreements --accept-package-agreements -e --id WhatsApp.WhatsApp # broken
winget install --accept-source-agreements --accept-package-agreements -e --id Zoom.Zoom # broken
winget install --accept-source-agreements --accept-package-agreements -e --id Facebook.Messenger # broken
winget install --accept-source-agreements --accept-package-agreements -e --id Spotify.Spotify # broken
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id OpenWhisperSystems.Signal
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id WhatsApp.WhatsApp # broken
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Zoom.Zoom # broken
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Facebook.Messenger # broken
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Spotify.Spotify # broken

# Multimedia
winget install --accept-source-agreements --accept-package-agreements -e --id GIMP.GIMP
winget install --accept-source-agreements --accept-package-agreements -e --id IrfanSkiljan.IrfanView
winget install --accept-source-agreements --accept-package-agreements -e --id Audacity.Audacity
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id GIMP.GIMP
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id IrfanSkiljan.IrfanView
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Audacity.Audacity

# Productivity
winget install --accept-source-agreements --accept-package-agreements -e --id Doist.Todoist
winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id Doist.Todoist

winget upgrade --all --accept-source-agreements --accept-package-agreements
winget upgrade --all --accept-source-agreements --accept-package-agreements --silent --disable-interactivity

# Pip packages
# TODO some packages below need to be fixed (or just installed globally?)
Expand Down

0 comments on commit 43ed8ba

Please sign in to comment.