Skip to content

Instantly share code, notes, and snippets.

@osvaldohdzm
Forked from JavanXD/install-kali-subsystem.md
Created September 14, 2022 16:42
Show Gist options
  • Save osvaldohdzm/1005ea1760f941b9f2496f56a288f7ec to your computer and use it in GitHub Desktop.
Save osvaldohdzm/1005ea1760f941b9f2496f56a288f7ec 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
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment