Git Product home page Git Product logo

wsl2-kali-setup's Introduction

How to Install Kali Linux in Windows Subsystem for Linux (WSL)

Step 1: Enable WSL in Windows 10

To enable WSL in Windows 10, open PowerShell as an administrator and run the following command:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Step 2: Install WSL

To install WSL, open a new PowerShell window as an administrator and run the following command:

wsl --install

Step 3: Set WSL 2 as Default

To set WSL 2 as the default version of WSL, open PowerShell as an administrator and run the following command:

wsl --set-default-version 2

Step 4: Install Kali Linux

To install Kali Linux, run the following command in a PowerShell window:

wsl --install -d kali-linux

Step 5: Install Kali Linux Desktop Environment (Optional)

To install the Kali Linux desktop environment (XFCE), run the following command:

sudo apt install kali-win-kex -y

Or u can use, kali-tweaks to install as per ur requirement.

kali-tweaks

Step 6: Start Kali Linux Desktop Environment (Optional)

To start the Kali Linux desktop environment (XFCE), run the following command:

kex --win -s

Step 7: Install Zsh Shell (Optional)

To install the Zsh shell, run the following command:

sudo apt install zsh*

Step 8: Set Zsh as the Default Shell (Optional)

To set Zsh as the default shell, run the following command:

chsh -s $(which zsh)

Step 8: If you have the space, why not install “Kali with the lot”? (Optional)

Here, run the following command:

sudo apt install -y kali-linux-large

That's it! You should now have Kali Linux installed in WSL with optional GUI and Zsh shell support. Your computer has now become a lethal weapon! 💣🚀💥

wsl2-kali-setup's People

Contributors

gteksd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.