# Kali KEX

I have been using WSLv2 for a considerable period, relying on it as an alternative to a virtual machine (VM) due to its significantly improved performance over the first version. However, since WSL only supports a terminal interface, I occasionally needed to install a VM. This was the case until I discovered the tool "kex," which enables running the Kali Linux GUI with considerably fewer resources than a traditional VM. Below is the method to activate it while WSL is running:

1.  Open WSL and enter the following command to install kex:

    ```bash
    sudo apt update && sudo apt install -y kali-win-kex
    ```
2.  Once the installation is complete, you can start kex by entering the following command:

    ```bash
    kex
    ```

This approach allows you to easily run the Kali Linux graphical user interface with significantly fewer resources compared to using a VM.



{% file src="https://1176031639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNQ7A82FmDjR05oHeIjks%2Fuploads%2Fo5OPIwxzhfpl61AibyxK%2FIMG_1808.MP4?alt=media&token=87d611b5-da96-4b39-a13c-ed8b84812875" %}

