Skip to content

Instantly share code, notes, and snippets.

@aoeuidht
Created July 23, 2024 15:08
Show Gist options
  • Save aoeuidht/3b3cefd6e29da772f940cfcc1531984b to your computer and use it in GitHub Desktop.
Save aoeuidht/3b3cefd6e29da772f940cfcc1531984b to your computer and use it in GitHub Desktop.
if [%1]==[1] (
code --install-extension ms-python.python
code --install-extension ms-toolsai.jupyter
code --install-extension MS-CEINTL.vscode-language-pack-zh-hans
) else (
curl -O https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2023.07-2-Windows-x86_64.exe
curl -L "https://code.visualstudio.com/sha/download?build=stable&os=win32-x64-user" > VSCodeUserSetup-x64-1.82.0.exe
start /wait "" Anaconda3-2023.07-2-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=1 /S /D=="%homepath%\anaconda3"
start /wait "" VSCodeUserSetup-x64-1.82.0.exe /VERYSILENT /NORESTART /MERGETASKS=!runcode
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment