Skip to content

Instantly share code, notes, and snippets.

Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL)

Windows just released the windows subsystem for linux feature to the public with its latest windows fall creator update, if you are not familiar with this feature it allows you to run linux binaries natively on windows - F.A.Q.

Enabling WSL

The feature is not enabled by default and you need to activate it, you can do it via powershell (with admin rights):

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
#!/bin/bash
#Backups Folder
cd /backups/mysql/
# Get list of databases
LISTEBDD=$( echo 'show databases' | mysql -uroot -p'techbyvideo' )
# Save the current date
DATE=`date +%y_%m_%d`