Windows

Windows Package Manager: How to install applications using Chocolatey?

Windows Package Manager

Chocolatey is software management automation and works with over 20+ installer technologies for Windows. It can also manage things you would normally xcopy deploy (like runtime binaries and zip files). Chocolatey Software Management Tool replaces the traditional way of searching for a .exe or .msi application file on a website, then download the installer before executing it (the rigorous process of clicking on several next, etc., till the software is finally installed), and then click on finish to end the installation process. Kindly refer to the following Windows Package Manager: How to install, upgrade and uninstall software with Chocolatey, and Windows Package Manager: How to install applications with Winget CLI.

You can also work with registry settings or managing files and configurations, or any combination. Chocolatey builds on technologies that are familiar;
- PowerShell
- Unattended installations

Since we successfully installed Chocolatey Software Tool and showed how to install, upgrade and uninstall Chocolatey, see the following article for more detail.

  • For how to install, upgrade and uninstall Chocolatey, see the following link.
  • For how to install, upgrade, and uninstall software with Chocolatey, see the following link.

How to install applications using Chocolatey?

To install apps navigate to Chocolately’s app directory, the Community Package Repository Notification.

1: Let’s install Firefox

To install applications using Chocolatey, use the following syntax followed by the application name. Ensure to use the “-y” switch in other to accept all prompts.

choco install applicationname -y
Chocolatey installation

Note: You can install multiple applications using the following syntax below.

choco install vlc firefox -y
Chocolatey package manager

Note: You can install applications offline, see the following link for more details. in this method, we mean completely offline!
– You have to ensure you remove the default community package source (choco source list followed by choco source remove -n chocolatey).

– For similar technology developed by Microsoft, “Windows Package Manager (Winget)”, see the following link
– For how to install applications with Windows Package Manager, see the following link.

How to upgrade a Chocolatey package? You can upgrade an application by using the syntax below. Just the code below.

choco upgrade firefox
Installing applications with Chocolatey

How to uninstall an application with Chocolatey? You can remove packages from your device using Chocolatey. Chocolatey comes with an intuitive command to accomplish application uninstallation for you. Use the syntax below followed with the application name.

choco uninstall vlc -y

If you do not include the switch “-y”, you will be prompted to agree to run the script (uninstallation).

Now, the switch “-y” is included, the application will uninstall without prompting you to accept the script to run.

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x