如何在 Ubuntu 中将 VS code 更新到最新版本?

Dhe*_*Rao 2 upgrade visual-studio-code

我看到了很多像 wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb sudo dpkg -i /tmp/code_latest_amd64.deb 但它不太好的解决方案。我想用单个命令更新 Ubuntu 中的 VS code。

Dhe*_*Rao 5

这太简单了。

sudo apt-get install --only-upgrade code
Run Code Online (Sandbox Code Playgroud)