sudo apt-get update

sudo apt-get install -y curl apt-transport-https

curl -sSL https://packages.microsoft.com/keys/microsoft.asc -o microsoft.asc

sudo apt-key add microsoft.asc

echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list

sudo apt-get update

sudo apt-get install -y code

기본에디터로 VS code 설정

sudo update-alternatives --set editor /usr/bin/code

+ Recent posts