Hit enter and Chocolatey will be installed on your system.Įxample: You can now install Node LTS and JDK11 as follows: choco install -y nodejs-lts openjdk11Īt first it felt awkward to use Chocolatey but once I got used to it I never wanted to go back to going to "official" app websites to download and install apps via Windows GUI installers. To install Chocolatey in PowerShell copy and paste this PowerShell command: Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString('')) (If it doesn't return restricted, you can simply skip those steps.) Or alternatively, Set-ExecutionPolicy Bypass -Scope Process If it returns Restricted, you need to run one of the two commands below: Set-ExecutionPolicy AllSigned To get started we need to run Get-ExecutionPolicy. You might need to click Run as Administrator instead of just Run. Go to Start button and type powershell and hit Enter to open Power Shell. choco install make Other recommended option is installing a Windows Subsystem for Linux (WSL/WSL2), so you'll have a Linux distribution of your choice embedded in Windows 10 where you'll be able to install make, gcc and all the tools you need to build C programs. How to install Chocolatey in PowerShell on Windows To Install Chocolatey Using PowerShell in Windows follow these steps: In this tutorial we'll take a look at how to install Chocolatey on Windows 10 using PowerShell. Much like Lunux-based homebrew, yum or apt-get install, but for Windows CLI (command line interface). ![]() ![]() How to install Chocolatey in PowerShell on WindowsĬhocolatey is a command line installer for Windows applications.
0 Comments
Leave a Reply. |