sudo apt install apt-transport-https sudo apt update sudo apt install code # or code-insiders Reference: vscode官网