Scripts for automating developer enviroment setup. Refer to this repository for updates.
Check the chocoPackages.config file to ensure all desired Chocolatey packages are there
NOTE: You can search for Chocolatey packages to add at the Community Package Repository
Be certain to confirm that a package has been marked as a trusted package and any checks have passed before adding it to your config file.
To add an entry to the chocoPackages.config you will need to know the id of the package. For example if you know you want to install Python you may see that the command for CLI would be choco install python so the entry to make in the config file would be
<package id="python" />Optionall, you can also specify a version if you need to install a specific version of a package, for example:
<package id="python" version="3.9.10" />Additional details about what can go into the chocoPackages.config can be found at Packages.config
Optional, If installing any PowerShell modules, check the poshModules.config file
This file is expecting the id of a module from the PowerShell Gallery
Specify name of module id
<module id="Az" />Run setup.cmd as Administrator
Follow any prompts any the command window, these can vary depending upon what is being installed
Check for any errors
Reboot machine
chocoPackages.configposhModules.configIf you try to run the setup.cmd and get the following error
The remote server returned an error: (407) Proxy Authentication Required.
Then try adding these lines to the setup.ps1 file just beneath the Params ()
[System.Net.WebRequest]::DefaultWebProxy = [System.Net.WebRequest]::GetSystemWebProxy()
[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials If you want to remove Chocolatey and ALL of the packages it has installed, follow the steps at How to Uninstall