Skip to content

Instantly share code, notes, and snippets.

@ashwinvis
Created October 14, 2017 12:28
Show Gist options
  • Save ashwinvis/c62aa54b88fcf94360a9c04b475c8649 to your computer and use it in GitHub Desktop.
Save ashwinvis/c62aa54b88fcf94360a9c04b475c8649 to your computer and use it in GitHub Desktop.
Use Anaconda's `conda` tool as if you were using `virtualenvwrapper`
alias workon='source activate'
alias deactivate='source deactivate'
alias mkvirtualenv='conda create'
alias lsvirtualenv='conda-env list'
alias rmvirtualenv='conda-env remove'
function cpvirtualenv{
conda create --clone $1 --name $2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment