Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 32ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
v

vscode

Recently created Least recently created Recently updated Least recently updated
anthony

anthony / Установка репозитория VSCode

Last active 1 month ago apt bash sh ubuntu vscode

https://code.visualstudio.com/docs/setup/linux

0 0 1
1 #/bin/bash
2
3 sudo apt install wget gpg apt-transport-https
4 wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
5 sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
6 echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" |sudo tee /etc/apt/sources.list.d/vscode.list > /dev/null
7 rm -f packages.microsoft.gpg
8 sudo apt update
9 # sudo apt install code # or code-insiders