2019-01-21

在 Kali Linux 安裝 Visual Studio Code

markdown # Kali 安裝 Visual Studio Code 因為 Kali 是以 Debian 為基地的發佈版,所以參考 Debian 或是 Ubuntu 的安裝方式。 ``` ::decode # Download the Microsoft GPG key, and convert it from OpenPGP ASCII # armor format to GnuPG format curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg # Move the file into your apt trusted keys directory (requires root) mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg # Add the VS Code Repository echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list # Update and install Visual Studio Code apt update && apt install code ``` # 參考 1. [Visual Studio Code on Linux](https://code.visualstudio.com/docs/setup/linux)

沒有留言:

張貼留言