Chocolatey is a command-line package deal supervisor like homebrew or APT, however for Home windows.
Necessities
- Home windows 7+
- PowerShell
- .NET Framework 4+
🧑💻 Admin Shell
Earlier than we begin the set up course of, I wish to cowl launching an administrative shell from home windows. There are a couple of methods to do that:
Proper-click on the Home windows begin menu and choose Home windows Terminal (Admin):
As soon as your terminal masses, click on the ˅
icon and open a brand new PowerShell tab. It ought to say Administrator: Home windows PowerShell
within the new tab:
When you’ve got Home windows Terminal in your taskbar, Shift
+ Proper-Click on
on the icon and choose run as administrator, after which open a brand new PowerShell tab:
Use the search bar from the Begin menu and sort in powershell
. A hyperlink to Run as Administrator will show:
Home windows Terminal added a brand new function the place you’ll be able to launch a PowerShell/Command Immediate profile in an Admin terminal robotically. Within the Home windows Terminal settings, scroll all the way down to your required profile after which toggle the Run this profile as Administrator
change. Now you’ll be able to skip all of the steps above, and the terminal will at all times launch as admin.
🍫 Putting in Chocolatey
- 1. Open an administrative PowerShell terminal and run the next command:
Get-ExecutionPolicy
- 2. If it returns
Restricted
, then run one of many following instructions:
Set-ExecutionPolicy AllSigned
or
Set-ExecutionPolicy Bypass -Scope Course of
With PowerShell, you have to guarantee
Get-ExecutionPolicy
just isn’t Restricted. We recommend utilizingBypass
to bypass the coverage to get issues put in orAllSigned
for fairly a bit extra safety.
- 3. Lastly, run the next command:
Set-ExecutionPolicy Bypass -Scope Course of -Power; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Internet.WebClient).DownloadString('https://group.chocolatey.org/set up.ps1'))
In the event you do not see any errors, you might be prepared to make use of Chocolatey! Kind choco
or choco -?
now, or see Getting Began for utilization directions.
⌨️ Fundamental Instructions
We use the choco
command to run chocolatey. (Keep in mind, you have to use an administrative shell for it to work.)
Set up a brand new package deal:
choco set up filename
Take away a package deal:
choco uninstall filename
Record all the put in packages:
choco listing
Replace:
choco improve filename
or to replace all the pieces directly:
choco improve all
📱 App Suggestions
Seek for accessible apps on the Group Package deal Repository.
Listed here are a couple of of my favourite (free) apps for productiveness and improvement on Home windows:
- Wox – A full-featured launcher
- RunJs – JavaScript and TypeScript playground
- Responsively – A modified internet browser that helps in responsive internet improvement.
- Zeal – the Home windows model of Sprint
- Figma – A collaborative UI design instrument
- draw.io – Flowchart maker and diagram software program
- GitHub Desktop – A GUI for Git
- Postman – API instruments
- Notion – Undertaking administration and note-taking software program
- Microsoft PowerToys – A set of utilities for energy customers
You possibly can obtain all these directly with the next command utilizing chocolatey in an admin shell:
choco set up wox runjs responsively zeal figma drawio github-desktop postman notion powertoys -y