Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save God-damnit-all/89ef5241a187e2d767b066d341753f02 to your computer and use it in GitHub Desktop.
Save God-damnit-all/89ef5241a187e2d767b066d341753f02 to your computer and use it in GitHub Desktop.
MiniConda portable installation

Minconda Portable Installation

  1. Download Miniconda windows from here: https://repo.anaconda.com/miniconda/ (taken from https://docs.conda.io/en/latest/miniconda.html)
  2. Extract the installer with 7zip. or
conda-installer.exe /InstallationType=JustMe /AddToPath=0 /S /RegisterPython=0 /D=%cd%\conda_install
  1. Rename the conda installation directory.
  2. Make a new bat file, run.bat
  3. Add the following code:
set PATH=%PATH%;%cd%/miniconda3/;%cd%/miniconda3/condabin;%cd%/miniconda3/Scripts

doskey python = %cd%/miniconda3\python.exe $*
doskey pythonw = %cd%/miniconda3\pythonw.exe $*
doskey pip = %cd%/miniconda3\Scripts\pip.exe $*
doskey pip3 = %cd%/miniconda3\Scripts\pip3.exe $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment