نشانیها
- مخزن VS Code
https://mirror-vscode.pkg.shecan.ir/
Ubuntu و Debian
Shell
sudo install -d /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/microsoft.asc https://mirror-vscode.pkg.shecan.ir/keys/microsoft.asc
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/microsoft.asc] https://mirror-vscode.pkg.shecan.ir/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list
sudo apt update && sudo apt install -y codemicrosoft.asc را فقط وقتی پاک کنید که منبع دیگری از Microsoft نمانده باشدShell
sudo rm -f /etc/apt/sources.list.d/vscode.list
sudo apt updateFedora، AlmaLinux و RHEL
/etc/yum.repos.d/vscode.repo/etc/yum.repos.d/vscode.repoINI
[code]
name=Visual Studio Code
baseurl=https://mirror-vscode.pkg.shecan.ir/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://mirror-vscode.pkg.shecan.ir/keys/microsoft.ascShell
sudo rm -f /etc/yum.repos.d/vscode.repo
sudo dnf clean allShell
sudo dnf install -y codeنکتهها و محدودیتها
- فقط مخزنهای VS Code میرور شدهاند، نه بقیهٔ مخزنهای packages.microsoft.com. افزونهها (Marketplace) و نصبکنندههای Windows و macOS میرور نشدهاند.