Skip to content
/ WSL Public

Just some simple batch files to quickly spawn bash/htop/whatnot

Notifications You must be signed in to change notification settings

KILLTUBE/WSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Enabling WSL

# Press Win+r
# Write "powershell"
# Press Ctrl+Shift+Enter for Administrator PowerShell

# Execute this command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Installing WSL

Go to the Microsoft Store and install "Ubuntu"

Simply clone this repo and download it as .zip

Basic setup of WSL

# Run bash.bat and execute:
sudo apt update
sudo apt upgrade

Basic setup of git

git config --global user.name "yourname"
git config --global user.email "[email protected]"

Installing node

# First run bash.bat

# Download nodejs
wget https://nodejs.org/dist/v10.16.0/node-v10.16.0-linux-x64.tar.xz

# Unpack the archive to home dir
unp node-v10.16.0-linux-x64.tar.xz

# Start the text editor
nano .bashrc

# This is optional for .bashrc, to remove all the ugly WSL NT /mnt paths
PATH="/usr/local/sbin"
PATH=$PATH":/usr/local/bin"
PATH=$PATH":/usr/sbin"
PATH=$PATH":/usr/bin"
PATH=$PATH":/sbin"
PATH=$PATH":/bin"
PATH=$PATH":/usr/games"
PATH=$PATH":/usr/local/games"

# Add this line where you want, e.g. at bottom:
PATH=`pwd`"node-v10.16.0-linux-x64/bin":$PATH

# Exit nano via `Ctrl+x` and `y`

About

Just some simple batch files to quickly spawn bash/htop/whatnot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published