Skip to content

brettjrea/Windows_WSL_Ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Title: "Node.js and Build Tools Installation Guide with Optional OS Upgrades"

1. Get Debian/Ubuntu:
  1. Install WSL Debian on Windows

  2. Install WSL Ubuntu on Windows

  3. Install VSCode with Remote Pack on Windows

2. Optional OS upgrades:
  1. Upgrade Debian Bullseye to Buster

  2. Upgrade Ubuntu Focal to Jammy

3. Node.js tools:
  1. Install NVM - Node Version Manager

  2. Install NVS - Node Version Switcher (added 02/23 it is a cross-platform node based successor/replacement for NVM)

4. Build tools:
  1. Install common build tools.
5. Add a Backend:
  1. Install Strapi.io backend
6. Add a Frontend:
  1. Install Gatsby frontend
7. Configure Process Manager:
  1. Configure PM2 Process Manager
8. Add GitHub CLI:
  1. Install GitHub CLI

# Step 1: Open Windows Powershell from powerusers menu
Start-Process powershell -Verb runAs

# Step 2: Enable Windows Optional Feature Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Write-Host "Windows Optional Feature Microsoft-Windows-Subsystem-Linux is enabled."

# Enable Hyper-V
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
wsl --set-default-version 2
Invoke-WebRequest -Uri https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi -OutFile wsl_update_x64.msi -UseBasicParsing
.\wsl_update_x64.msi

# Step 3: Download Ubuntu
Invoke-WebRequest -Uri https://aka.ms/wslubuntu -OutFile Ubuntu.appx -UseBasicParsing
Write-Host "Ubuntu is downloaded."

# Step 4: Add Ubuntu package
Add-AppxPackage .�untu.appx
Write-Host "Ubuntu package is added."

# Step 5: Update WSL
wsl --update

# Step 6: Start Debian
ubuntu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published