Install a Python version using pyenv.
The version string (e.g. "3.9.1")
List all Python versions installed via pyenv.
Set the local Python version via pyenv.
The version to set as local.
Uninstall a Python version using pyenv.
The version string to uninstall.
Retrieves the local Python version set by pyenv.
This function executes the 'pyenv local' command to get the currently set local Python version. It uses Node.js child process to spawn a shell command and capture its output.