-
Enable feature in PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
-
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
-
Open PowerShell as Admin and Run:
Add-AppxPackage .\Kali.appx
-
Run
kali
. Createuser:user
. -
Set default user:
kali config --default-user root
-
Keep system up to date:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
In Users/sudosuraj.bash_profile
add
export PATH=$PATH:/Users/sudosuraj/Documents/AndroidSDKs/sdk/platform-tools
export PATH=$PATH:/Users/sudosuraj/Documents/AndroidSDKs/sdk/tools
cd /Users/sudosuraj/Documents/AndroidSDKs/sdk/platform-tools