Open the Windows Subsystem for Linux
Search Window function directly
Open developer mode
Search WSL
Download and install Kali to
start Kali , configure the account password, and then switch to the root account
Configure apt source
apt-get is similar to yum, brew and other package management tools, but due to network reasons, the default address in /etc/apt/sources.list cannot be accessed, so it is recommended to directly replace it with Ali's source
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
Execute the command to make the source effective
apt-get update
install software
apt-get install git
apt-get install python
apt-get install netcat
apt-get install nmap
apt-get install tcpdump
However, some tools are not supported on wsl.