{"id":19306854,"url":"https://github.com/59de44955ebd/pyenv-win","last_synced_at":"2026-04-09T21:04:32.288Z","repository":{"id":245716853,"uuid":"819041165","full_name":"59de44955ebd/pyenv-win","owner":"59de44955ebd","description":"Poor man's pyenv for Windows","archived":false,"fork":false,"pushed_at":"2024-07-26T09:45:22.000Z","size":674,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T02:44:46.394Z","etag":null,"topics":["pyenv","python","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/59de44955ebd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-23T15:57:17.000Z","updated_at":"2024-07-26T09:45:25.000Z","dependencies_parsed_at":"2024-06-23T17:22:01.281Z","dependency_job_id":"8abf3960-e38c-44e0-a03e-a90f00641a87","html_url":"https://github.com/59de44955ebd/pyenv-win","commit_stats":null,"previous_names":["59de44955ebd/pyenv-win"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/59de44955ebd/pyenv-win","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2Fpyenv-win","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2Fpyenv-win/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2Fpyenv-win/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2Fpyenv-win/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/59de44955ebd","download_url":"https://codeload.github.com/59de44955ebd/pyenv-win/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2Fpyenv-win/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284473260,"owners_count":27011178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-14T02:00:06.101Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyenv","python","windows"],"created_at":"2024-11-10T00:08:40.167Z","updated_at":"2025-11-14T22:18:35.463Z","avatar_url":"https://github.com/59de44955ebd.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyenv-win - Poor man's pyenv for Windows\nA simple script (both for PowerShell and CMD) that allows to install/uninstall/switch between/manage 64-bit Python 3 versions for Windows provided as binaries by [Python.org](https://www.python.org/downloads/windows/). \nThe original installers (python-X.X.X-amd64.exe) are never executed, and therefor nothing is written to the Registry, other than updating the Path environment variable (in userspace) when (globally) switching between Python versions.\n\nAt the time of writing, 76 different Python versions can be installed, the earliest being 3.5.0 and the latest 3.12.4 (versions 3.4.x and earlier use different installers and are therefor not supported).\n\n## Setup\nRun this command in PowerShell:\n```\niex (iwr \"https://raw.githubusercontent.com/59de44955ebd/pyenv-win/main/install.txt\").Content\n```\n\n## Usage\n```\nPS\u003e pyenv\n\nUsage: pyenv \u003ccommand\u003e [\u003carguments\u003e]\n\nAvailable commands:\n===================\n\n   install \u003cversion\u003e         Install a Python version (download from python.org)\n\n   uninstall \u003cversion\u003e       Uninstall a Python version\n\n   global \u003cversion\u003e          Change the globally active Python version\n                             (updates environment variables in userspace registry)\n\n   local \u003cversion\u003e           Change the local active Python version\n                             (only for the current CMD or Powershell instance)\n\n   versions                  List all Python versions currently installed via pyenv\n\n   list                      List all Python versions that can be installed\n\n   update-list               Update the list of installable Python versions available at python.org\n\n   pip-transfer \u003cfrom\u003e \u003cto\u003e  Utility, tries to install all packages of version \u003cfrom\u003e in version \u003cto\u003e\n\n   pip-upgrade-all           Utility, upgrades all outdated packages for the active Python version\n```\n\n## Example session (PowerShell)\n```\nPS\u003e pyenv versions\n* 3.12.4\nPS\u003e pyenv install 3.10.3\nDownloading python-3.10.3-amd64.exe from python.org ...\nExctacting MSI files from python-3.10.3-amd64.exe ...\nExtracting contents of MSI files to D:\\dev\\python\\versions\\3.10.3 ...\nInstalling pip ...\nCleaning up ...\nDone.\nPS\u003e pyenv versions\n  3.10.3\n* 3.12.4\nPS\u003e pyenv global 3.10.3\nPython 3.10.3\nPS\u003e pyenv versions\n* 3.10.3\n  3.12.4\nPS\u003e\n```\n\n## Example session (CMD)\n```\nC:\\\u003epyenv versions\n* 3.12.4\n\nC:\\\u003epyenv install 3.10.3\nDownloading python-3.10.3-amd64.exe from python.org ...\nExctacting MSI files from python-3.10.3-amd64.exe ...\nExtracting contents of MSI files to D:\\dev\\python\\versions\\3.10.3 ...\nInstalling pip ...\nCleaning up ...\nDone.\n\nC:\\\u003epyenv versions\n  3.10.3\n* 3.12.4\n\nC:\\\u003epyenv global 3.10.3\nRefreshing environment variables ...\nPython 3.10.3\n\nC:\\\u003epyenv versions\n* 3.10.3\n  3.12.4\n\nC:\\\u003e\n```\n\n## Notes\nThe tool dark.exe, which is used to extract .msi files from installers (python-X.X.X-amd64.exe) provided by [Python.org](https://www.python.org/downloads/windows/) without actually running the installer, is part of the [WiX Toolset ](https://github.com/wixtoolset/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F59de44955ebd%2Fpyenv-win","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F59de44955ebd%2Fpyenv-win","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F59de44955ebd%2Fpyenv-win/lists"}