The instructions on the GitHub page don’t seem to work for the WLS. I achieved success by doing the following:
Go to Add Features from Add/Remove programs Select Windows Subsystem for Linux and hit OK.
Install Kali Linux from the Windows Store.
Open Kali Linux by right clicking it and selecting Open as Administrator.
Hit Yes when Windows barks at you.
After it sets up and you enter a new user name and password, type sudo su.
Enter your new password.
This will change your current session to the root user, which enables more privileged access when installing.
Type the following, making sure to hit enter after each line:
Now that everything is updated, go to https://sourceforge.net/projects/vcxsrv/ and download VcXsSrv for Windows.
Install what we just downloaded and select all the default options.
Open XLaunch from start menu.
Now we can install lscript without any problems (except for a bug at the end).
Type (as before):
git clone https://github.com/arismelachroinos/lscript.git
chmod +x install.sh
When prompted, type y and enter.
Then type “i” if this is your first install.
It might bark at you if you only typed one “i”, it’s still in dev.
Once done, it will say that it could not connect to server. Don’t worry.
Just close Kali and open it again.
Type sudo export DISPLAY=0:0.
Now if you go to sudo su again so we are root, you can use “l” to open lscript.