mise sync python
- Usage:
mise sync python [--pyenv] [--uv] - Effect: modifies state
- Source code:
src/cli/sync/python.rs
Symlink python versions installed by pyenv or uv into mise
Use this to make versions installed by another version manager available to mise. It does not overwrite managed installs, runtime aliases, or links from other providers. With --uv, it also links mise's python versions into uv. Pass --pyenv, --uv, or both; with neither, nothing is linked.
Flags
--pyenv— Get tool versions from pyenv--uv— Link uv's python versions into mise and mise's python versions into uv-h --help— Print help
Examples
Use a python that pyenv installed
pyenv install 3.13.0
mise sync python --pyenv
mise use -g python@3.13.0Share python versions with uv in both directions
uv python install 3.13.0
mise install python@3.12.0
mise sync python --uv
mise exec python@3.13.0 -- python -V
uv run -p 3.12.0 -- python -V