Using Windows but you want to get more out of that CMD or Powershell?
Tired of seeing all these articles use macOS pm or linux pm commands brew install, apt install
and you can't install anything cool? 😖
Breathe Windows users, breathe.
Chocolately Package Manager is here to save the day. CPM is a framework that allows you to access a repository chalked full of packages to install and upgrade easily from the command line.
Let's get started.
There are multiple ways to install Chocolately package manager but for this tutorial we are going to stick with the 2 more common ways. I will link the full install page for unique requirements.
CMD
Install with cmd.exeSearch box cmd
, right click mouse over app, Run as Administrator
Run the following command inside CMD:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Powershell
Install with Powershell.exeNote: With Powershell you must ensure Get-ExecutionPolicy
is not Restricted
. We suggest using Bypass
to bypass the policy to get things installed or AllSigned
for quite a bit more security.
Run Get-ExecutionPolicy
. If it returns Restricted
, then run Set-ExecutionPolicy AllSigned
or Set-ExecutionPolicy Bypass -Scope Process
.
Search box Powershell
, right click mouse over app, Run as Administrator
Run the following command inside Powershell:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Ensure you are running as Administrator or you will receive an error like below:
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://chocolatey.org/install
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @dapp-corner! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit