While the setup is described well over at the WSL Distribution Switcher README file, we’ve made a quick 4-minute video to walk you through the setup and installation process. For an easier copy/paste operation, these are the basic steps taken:

   1. Update your Windows 10 machine. Open Control Panel -> Program and features -> Turn on or off Windows features find and activate "Windows Subsystem for Linux"

   2. Once rebooted, open a command line shell and run the following commands to install the default Ubuntu environment. This will lay down the foundations for our Kali install:
     lxrun /install

   3. Setup and install the WSL Switcher, download a Kali base, and extract it to disk:
      git clone https://github.com/RoliSoft/WSL-Distribution-Switcher
      cd WSL-Distribution-Switcher
      python get-prebuilt.py kalilinux/kali-linux-docker
      python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz
      lxrun /setdefaultuser root

   4. Now that Kali is set up on your Windows 10 machine, you can interact with it by running the “bash” command: bash

   5. At this point, you’re inside Kali and you can use it as you normally do–install packages, use tools, etc. We strongly recommend first running an update and upgrade:
      cat /etc/issue
      echo nameserver > /etc/resolv.conf
      apt update
      apt dist-upgrade

   First, make sure you have installed the Python 3.x and the latest version of Git. Make sure the Python and Git are in the PATH. Let's see the full instructions in the video below:
From Kali Linux
Previous Post Next Post