This PowerShell script provides a menu-based interface for installing packages using the Chocolatey package manager.
- Windows operating system (more operating systems soon)
- Administrator privileges
- .NET Framework 4.8 or higher download here
- Open a PowerShell console as an administrator.
- Navigate to the directory containing the script.
- Run the setup script
.\initial_setup.ps1
- Run the script using the
.\download.ps1
command. - Follow the on-screen instructions to choose one or more options from the menu.
- The script will install the packages associated with the chosen options.
The script can be customized by modifying the $menu
and $files
variables.
$menu
defines the menu options that are displayed to the user.$files
defines the mapping between menu options and file names.
Each file should contain a list of Chocolatey package names, one per line. When an option is chosen, the script will read the corresponding file and install all of the listed packages.
Here's an example of a gaming.txt
file that installs several gaming-related packages:
steam
epicgameslauncher
ubisoft-connect
geforce-game-ready-driver
ea-app
msiafterburner
goggalaxy
to update the packages, run the update.ps1
script.