Skip to content

Instantly share code, notes, and snippets.

@JavanXD
Last active October 29, 2023 16:04
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JavanXD/ef7deb0fb998458c13c42675a86fdba8 to your computer and use it in GitHub Desktop.
Save JavanXD/ef7deb0fb998458c13c42675a86fdba8 to your computer and use it in GitHub Desktop.
Hot To: Install Kali Linux as Windows Subsystem
  1. Enable feature in PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  2. Download Kali AppX File: https://aka.ms/wsl-kali-linux-new

    Invoke-WebRequest -Uri https://aka.ms/wsl-kali-linux-new -OutFile Kali.appx -UseBasicParsing
    
  3. Open PowerShell as Admin and Run: Add-AppxPackage .\Kali.appx

  4. Run kali. Create user:user.

  5. Set default user: kali config --default-user root

  6. Keep system up to date:

    apt-get update && apt-get dist-upgrade -y
    apt-get install -y kali-linux-full --fix-missing
    
@foZZyLogic43
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment