Customized Miniforge3 installers for DTU courses.
- Install — Miniforge3 and VS Code
- Uninstall — Remove Miniforge3 and/or VS Code
- Update — Reinstall and restore environments
Miniforge3
curl -fLo Miniforge3.sh "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/Miniforge3-$(uname -s)-$(uname -m).sh" && bash Miniforge3.sh -bc && rm -f Miniforge3.sh VS Code
curl -fsSL "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/install-vscode-macos.sh" -o /tmp/install-vscode-macos.sh && bash /tmp/install-vscode-macos.sh && rm /tmp/install-vscode-macos.shMiniforge3
$BASE_URL = "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download"; irm "$BASE_URL/Miniforge3-Windows-x86_64.exe" -OutFile "$env:TEMP\Miniforge3.exe"; Start-Process "$env:TEMP\Miniforge3.exe" "/S" -NoNewWindow -Wait; Remove-Item "$env:TEMP\Miniforge3.exe" -ForceVS Code
$BASE_URL = "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download"; irm "$BASE_URL/install-vscode-windows.ps1" -OutFile "$env:TEMP\install-vscode-windows.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\install-vscode-windows.ps1"Miniforge3
curl -fsSL "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/uninstall-conda.sh" -o /tmp/uninstall-conda.sh && bash /tmp/uninstall-conda.sh && rm /tmp/uninstall-conda.shVS Code
curl -fsSL "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/uninstall-vscode-macos.sh" -o /tmp/uninstall-vscode-macos.sh && bash /tmp/uninstall-vscode-macos.sh && rm /tmp/uninstall-vscode-macos.shMiniforge3
$BASE_URL = "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download"; irm "$BASE_URL/uninstall-conda-windows.ps1" -OutFile "$env:TEMP\uninstall-conda-windows.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\uninstall-conda-windows.ps1"VS Code
$BASE_URL = "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download"; irm "$BASE_URL/uninstall-vscode-windows.ps1" -OutFile "$env:TEMP\uninstall-vscode-windows.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\uninstall-vscode-windows.ps1" -ForceReinstall + restore environments
curl -fsSL "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/update-conda.sh" -o /tmp/update-conda.sh && bash /tmp/update-conda.sh --restore-envs && rm /tmp/update-conda.shReinstall without restoring environments
curl -fsSL "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/update-conda.sh" -o /tmp/update-conda.sh && bash /tmp/update-conda.sh && rm /tmp/update-conda.shUpdate VS Code (uninstall + reinstall)
curl -fsSL "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/uninstall-vscode-macos.sh" -o /tmp/uninstall-vscode-macos.sh && bash /tmp/uninstall-vscode-macos.sh && rm /tmp/uninstall-vscode-macos.sh && curl -fsSL "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download/install-vscode-macos.sh" -o /tmp/install-vscode-macos.sh && bash /tmp/install-vscode-macos.sh && rm /tmp/install-vscode-macos.shReinstall + restore environments
$BASE_URL = "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download"; irm "$BASE_URL/update-conda-windows.ps1" -OutFile "$env:TEMP\update-conda-windows.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\update-conda-windows.ps1" -RestoreEnvsReinstall without restoring environments
$BASE_URL = "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download"; irm "$BASE_URL/update-conda-windows.ps1" -OutFile "$env:TEMP\update-conda-windows.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\update-conda-windows.ps1"VS Code (uninstall + reinstall)
$BASE_URL = "https://github.com/PN-CourseWork/miniforge-DTU-PIS/releases/latest/download"; irm "$BASE_URL/uninstall-vscode-windows.ps1" -OutFile "$env:TEMP\uninstall-vscode-windows.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\uninstall-vscode-windows.ps1" -Force; irm "$BASE_URL/install-vscode-windows.ps1" -OutFile "$env:TEMP\install-vscode-windows.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\install-vscode-windows.ps1"