Migrate virtual environments from other tools (pyenv-virtualenv, virtualenvwrapper, conda).
# List migratable environments
scoop migrate list
# Migrate a single environment
scoop migrate @env <name>
# Migrate all environments
scoop migrate all
Subcommand Description
listList environments available for migration
@env <name>Migrate a single environment by name
allMigrate all discovered environments
Source Detection
pyenv-virtualenv ~/.pyenv/versions/ (non-system virtualenvs)
virtualenvwrapper $WORKON_HOME or ~/.virtualenvs/
conda conda info --envs
Option Description
--jsonOutput as JSON
--quietSuppress output
--no-colorDisable colored output
$ scoop migrate list
📦 Migratable Environments
pyenv-virtualenv:
• myproject (Python 3.12.0)
• webapp (Python 3.11.8)
conda:
• ml-env (Python 3.10.4)
$ scoop migrate @env myproject
✓ Migrated 'myproject' from pyenv-virtualenv
Source: ~/.pyenv/versions/myproject
Target: ~/.scoop/virtualenvs/myproject
$ scoop migrate all
✓ Migrated 3 environments
• myproject (pyenv-virtualenv)
• webapp (pyenv-virtualenv)
• ml-env (conda)
$ scoop migrate list --json
{
"status": "success",
"data": {
"environments": [
{
"name": "myproject",
"source": "pyenv",
"python_version": "3.12.0"
}
]
}
}
Discovery : Scans configured source paths for virtual environments
Extraction : Identifies Python version and installed packages
Recreation : Creates new scoop environment with same Python version
Package Install : Reinstalls packages using uv pip install
Cleanup : Originals are preserved by default; --delete-source removes them after successful migration
Original environments are preserved by default; use --delete-source to remove sources after migration
Package versions are preserved where possible
Migration creates fresh environments using uv for improved performance