choco install <PACKAGE_NAME>
choco list --local-only
choco outdated
choco upgrade <PACKAGE_NAME>
- php 7.3.21
- poshgit 0.7.3.1
- quicklook 3.6.9
- slack 4.8.0
- sops 3.5.0
- spotify 1.1.39.612
- vagrant 2.2.9
- virtualbox 6.1.10
- vlc 3.0.11
- vscode 1.47.3
- keepassx 2.0.3
- GoogleChrome 84.0.4147.135
- dropbox 106.4.368
- Firefox 79.0
- 7zip 19.0
- argocd 1.6.1
- awscli 2.0.41
- bitwarden-cli 1.11.0
- brave 1.12.114
- calibre 5.0.1
- composer 6.0.0
- discord 0.0.306.20200621
Services -> OpenSSH -> Automatic
Get-Service -Name ssh-agent | Set-Service -StartupType Automatic
Start-Service ssh-agent
$Env:GIT_SSH=$((Get-Command -Name ssh).Source)
git config --global core.sshCommand C:\\Windows\\System32\\OpenSSH\\ssh.exe
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
arp -a
Administrator:
vmconnect localhost <VM_NAME> /edit
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey
refreshenv
(an alias for Update-SessionEnvironment)- C:\Program Files\Git\usr\bin (allows using apps like which, vim, grep ...etc)
Test-NetConnection -ComputerName api.ecr.us-west-2.amazonaws.com -Port 443
C:\Windows\System32\drivers\etc\hosts
in your WSL instance and then restarting it will allow you to apply Linux permissions:
/etc/wsl.conf
[automount]
enabled = true
options = "metadata,umask=22,fmask=11"
if [[ "$(umask)" = "0000" ]]; then
umask 0022
fi
sudo umount /mnt/d
sudo mount -t drvfs D: /mnt/d -o metadata
wsl -l -v
wsl -d Ubuntu-20.04 #start distro
wsl -d Ubuntu-20.04 --shutdown #shutdown distro
echo 1 > /proc/sys/vm/compact_memory
echo 1 > /proc/sys/vm/drop_caches
In .bash_aliases
add:
alias winhome='cd $(wslpath "$(wslvar USERPROFILE)")'