Skip to content

Detailing the procedures of automating program installation with Chocolatey.

Notifications You must be signed in to change notification settings

ScratchingMastermind/Automation-With-Chocolatey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Automating Programs Installations with Chocolatey

A fresh install of windows is good and all, but this feeling of joy comes to an end, as we realize that we have to download and install all the required programs.

We usually start by opening Edge Browser, installing our favorite browser, and then scavenge all over the internet for the programs we need to install.

This procedure is rather cumbersome. We no longer need to waste time looking for software all over the internet. All of this can be done with a package manager like Chocolatey.

How to use

  1. Download the main_script.ps1 file locally.

  2. Populate the $packagesList with your desired apps separated with commas. For example:

    #List of Packages
    $packagesList = "brave,deezer,notepadplusplus,discord,7zip,vscodium"
  3. Save the file.

  4. On your current folder, right-click and then click on Open in terminal

  5. Before running the script:

    1. Check ExecutionPolicy by running: Get-ExecutionPolicy
      If it returns Restricted, then run Set-ExecutionPolicy RemoteSigned or Set-ExecutionPolicy Bypass -Scope Process.
  6. Then run: .\main_script.ps1 and sit back.

Bonus Script

The bonus.ps1 uses Github API to run this Repo remotely. Extending the capabilities of main_script.ps1. For more information refer to the Automating Programs Installations with Chocolatey - Part 2

About

Detailing the procedures of automating program installation with Chocolatey.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published