- Update driver dulu biar setup nya nanti gak keganggu restart dari sini.
- Install chocolatey untuk Package Manager (Optional):
- Buka powershell dengan menjalankan sebagai admin
- Ketikan
Get-ExecutionPolicy
, apabila responsenya Restricted. Maka lanjutkan dengan mengetik Set-ExecutionPolicy Bypass -Scope Process
- Setelah selesai proses, lalu jalankan
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('[<https://community.chocolatey.org/install.ps1>](<https://community.chocolatey.org/install.ps1>)'))
- Untuk mengecek apakah sudah terinstall bisa dengan ketik
choco
atau choco -?
- Setting Windows Features on and off
- Checklist Windows HyperVisorPlatform dan Windows Subsystem for Linux
- Lalu restart pc
- Setup wsl
- Buka command prompt, lalu ketikan
wsl --install
lalu install distro dengan ketik wsl --install -d ubuntu-22.04
- Setelah itu restart command prompt, lalu ketikan
wsl --update
- Lalu buka terminal ubuntu dan masukkan name dan passwordnya
- Install Node via NVM
- Buka terminal Ubuntu 22.04
sudo apt update
curl -o- [<https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh>](<https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh>)
curl -o- [<https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh>](<https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh>) | bash
source ~/.bashrc
nvm list-remote
(untuk liat list version yang tersedia)
nvm install --lts
(untuk install versi lts terbaru)
- Install Visual Studio Code
- https://code.visualstudio.com/download
- Install wsl di Visual Studio Code