

Once you’ve done so, rerun the code snippet and you should see this:Ĭurrently, an added security check has been set for scripts. Then run the following code snippet: Get-ExecutionPolicy AllSignedĪfter running the code snippet above, you will be prompted to respond “Yes” to secure your system against scripts you don’t trust. Open PowerShell as an admin and set the required rights, as shown below: Get-ExecutionPolicy While installing Chocolatey, you may run into the following error shown in the code snippet image here:

Open it as an admin and run the following PowerShell scripts: -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "::SecurityProtocol = 3072 iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin" Let’s navigate to the command line (CMD).

In this article, I will guide you on how to set up Chocolatey to do the following right from your Windows system. What we will cover in this Chocolatey guide Well, if you’re a Windows user, then do not fear! Guess what? Thanks to Chocolatey, you can automatically install packages and software and deploy packages right from your Windows terminal - all without having to manually jump through hoops to install and set them up. Package managers like apt-get for Linux and Homebrew for Mac have greatly improved the installation speed, configuration, and security of packages for our projects. If you’ve used a Linux or Mac system as a developer, you may well agree with me that their flexible and secure options for managing packages are second to none. A guide to using Node on Windows with Chocolatey

Chime Princewill Follow I am a passionate MERN stack engineer currently working with Descasio as a full-stack engineer.
