Skip to content

Instantly share code, notes, and snippets.

@draperjames
Last active May 23, 2018 15:12
Show Gist options
  • Save draperjames/a0730060c787f3f884cb21f474f0900f to your computer and use it in GitHub Desktop.
Save draperjames/a0730060c787f3f884cb21f474f0900f to your computer and use it in GitHub Desktop.
Miniconda3 Install Windows 10
:: Miniconda3 Installer for Windows 10
:: Author: James Draper
:: Date: 5/23/2018
:: NOTE: Run this script from administrator prompt.
cd %userprofile%\Downloads
mkdir tmp
cd tmp
:: Download and install miniconda
curl -o miniconda3.exe https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe
:: Installing and registering Miniconda as sytem Python and adding to system path.
start /wait "" miniconda3.exe /S /InstallationType=AllUsers /RegisterPython=1 /AddToPath=1 /D=%programfiles%\Miniconda3
rmdir /S tmp
:: Give the current user full control over the Miniconda3 directory
cd %programfiles%
cacls Miniconda3 /e /p %USERNAME%:f
echo Miniconda3 has been installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment