wsl에서 vs code 사용하기


참고 영상: https://youtu.be/HgCOkMe6jBA
1)ubuntu 실행
2)explorer.exe
3)\wsl$
4)\wsl$\Ubuntu-20.04\home\adminuser로 이동하여 ps 폴더 생성
5)Linux에 PowerShell 설치하기

Download the Microsoft repository GPG keys

wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb

Register the Microsoft repository GPG keys

sudo dpkg -i packages-microsoft-prod.deb

Update the list of products

sudo apt-get update

Install PowerShell

sudo apt-get install -y powershell

Start PowerShell

pwsh

6)Default Distro 변경하기
powershell.exe를 관리자 권한으로 실행하기
wsl –list –all
wsl -s Ubuntu-18.04
wsl -l -v
7)vs code server 설치하기
ubuntu를 실행한다
code .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s