Chocolatey is the Windows version of Linux’s apt or dnf.

Open Administrator Powershell.

Set up $profile in PowerShell

See the contents of $profile:

Write-Host $profile

This only shows the variable’s content but the file doesn’t exist there:

C:\Users\...\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

Create the file as seen in the Microsoft docs here: