- Install Chocolatey: https://chocolatey.org (alternatively there is scoop)(equivalent to homebrew but for windows)
- Install WSL: https://docs.microsoft.com/pt-br/windows/wsl/install-win10
- Install a Linux distro (e.g.: Debian)
- Upgrade WSL to version 2: https://docs.microsoft.com/pt-br/windows/wsl/wsl2-install
[WSL Debian] Needs to change permissions of ping
to be accessible for non-root user
rafaelfesi@rfs-pc:~ $ which ping
/bin/ping
rafaelfesi@rfs-pc:~ $ ping 8.8.8.8
ping: icmp open socket: Operation not permitted
rafaelfesi@rfs-pc:~ $ ls -lsa /bin/ping
40 -rwxr-xr-x 1 root root 38844 Feb 12 2014 /bin/ping
rafaelfesi@rfs-pc:~ $ sudo chmod 4711 /bin/ping
rafaelfesi@rfs-pc:~ $ ls -lsa /bin/ping
40 -rws--x--x 1 root root 38844 Feb 12 2014 /bin/ping
rafaelfesi@rfs-pc:~ $ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
Change default shell:
chsh -s $(which fish)
Fish Shell startup file:
~/.config/fish/config.fish