{"id":13567647,"url":"https://github.com/momo-lab/xxenv-latest","last_synced_at":"2025-04-04T02:32:28.135Z","repository":{"id":42697764,"uuid":"170960735","full_name":"momo-lab/xxenv-latest","owner":"momo-lab","description":"This **env(pyenv, rbenv, nodenv, goenv, phpenv, luaenv) plugin replaces the version specified in the argument with the latest version.","archived":false,"fork":false,"pushed_at":"2024-02-06T23:37:42.000Z","size":30,"stargazers_count":72,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-04T22:37:30.674Z","etag":null,"topics":["goenv","goenv-plugin","luaenv","luaenv-plugin","nodenv","nodenv-plugin","phpenv","phpenv-plugin","pyenv","pyenv-plugin","rbenv","rbenv-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/momo-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-02-16T04:03:37.000Z","updated_at":"2024-08-29T17:36:56.000Z","dependencies_parsed_at":"2024-11-04T22:32:55.131Z","dependency_job_id":"2994e8d8-f164-4472-8ca4-c8f53d48e332","html_url":"https://github.com/momo-lab/xxenv-latest","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momo-lab%2Fxxenv-latest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momo-lab%2Fxxenv-latest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momo-lab%2Fxxenv-latest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momo-lab%2Fxxenv-latest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/momo-lab","download_url":"https://codeload.github.com/momo-lab/xxenv-latest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247111043,"owners_count":20885372,"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","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":["goenv","goenv-plugin","luaenv","luaenv-plugin","nodenv","nodenv-plugin","phpenv","phpenv-plugin","pyenv","pyenv-plugin","rbenv","rbenv-plugin"],"created_at":"2024-08-01T13:02:37.733Z","updated_at":"2025-04-04T02:32:27.864Z","avatar_url":"https://github.com/momo-lab.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# xxenv-latest\n\nThis **env plugin replaces the version specified in the argument with the latest version.\n\n## Supported **env\n\n- [pyenv](https://github.com/pyenv/pyenv)\n- [rbenv](https://github.com/rbenv/rbenv) (Required [ruby-build](https://github.com/rbenv/ruby-build) to use ```rbenv latest install``` or ```rbenv latest uninstall```)\n- [nodenv](https://github.com/nodenv/nodenv) (Required [node-build](https://github.com/nodenv/node-build) to use ```nodenv latest install``` or ```nodenv latest uninstall```)\n- [goenv](https://github.com/syndbg/goenv)\n- [phpenv](https://github.com/phpenv/phpenv) (Required [php-build](https://github.com/php-build/php-build) to use ```phpenv latest install``` or ```phpenv latest uninstall```)\n- [luaenv](https://github.com/cehoffman/luaenv) (Required [lua-build](https://github.com/cehoffman/lua-build) to use ```luaenv latest install``` or ```luaenv latest uninstall```)\n\n## Usage\n\nReplaces '**env' with 'pyenv', 'rbenv', etc.\n\n    **env latest \u003ccommand\u003e [\u003cversion-prefix|command-args\u003e]\n\nSupported commands is:\n- install\n- uninstall (All except the latest version)\n- global\n- local\n- prefix\n\nOriginal subcommands is:\n- update-major:    Update the major version of the currently active version\n- update-minor:    Update the minor version of the currently active version\n- update-revision: Update the revision of the currently active version\n\n## Installation\n\nReplaces '**env' with 'pyenv', 'rbenv', etc.\n\n    git clone https://github.com/momo-lab/xxenv-latest.git \"$(**env root)\"/plugins/xxenv-latest\n\n## Usage example\n\nInstall latest version of Python.\n\n    $ pyenv latest install\n    Latest version is '3.7.2'\n    Downloading Python-3.7.2.tar.xz...\n    -\u003e https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz\n    Installing Python-3.7.2...\n    Installed Python-3.7.2 to /home/username/.pyenv/versions/3.7.2\n\n\nInstall 2.7-based version of Python.\n\n    $ pyenv latest install 2.7\n    Latest version is '2.7.15'\n    Downloading Python-2.7.15.tar.xz...\n    -\u003e https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz\n    Installing Python-2.7.15...\n    Installed Python-2.7.15 to /home/username/.pyenv/versions/2.7.15\n\nUninstall all expect the latest 2.7-based version of Python.\n\n    $ pyenv versions\n      2.7.13\n      2.7.14\n      2.7.15\n      3.7.1\n    * 3.7.2 (set by /home/username/.pyenv/version)\n    $ pyenv latest uninstall 2.7\n    pyenv: remove /home/username/.pyenv/versions/2.7.13? y\n    pyenv: remove /home/username/.pyenv/versions/2.7.14? y\n    $ pyenv versions\n      2.7.15\n      3.7.1\n    * 3.7.2 (set by /home/username/.pyenv/versions/2.7.15)\n\nUpdate the major version, minor version or revision of the currently active version\nto the latest.\n\n    $ pyenv install --list\n    ...\n    3.6.15\n    ...\n    3.9.10\n    ...\n    3.10.2\n    ...\n    $ pyenv global\n    3.6.0\n    $ pyenv latest update-revision\n    Latest version is '3.6.15'\n    Downloading Python-3.6.15.tar.xz...\n    -\u003e https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tar.xz\n    Installing Python-3.6.15...\n    ...\n    Installed Python-3.6.15 to /home/username/.pyenv/versions/3.6.15\n    $ pyenv global\n    3.6.15\n    $ pyenv local 3.9.0\n    $ pyenv latest update-revision\n    Latest version is '3.9.10'\n    Downloading Python-3.9.10.tar.xz...\n    -\u003e https://www.python.org/ftp/python/3.9.10/Python-3.9.10.tar.xz\n    Installing Python-3.9.10...\n    Installed Python-3.9.10 to /home/username/.pyenv/versions/3.9.10\n    $ pyenv local\n    3.9.10\n    $ pyenv latest update-minor\n    Latest version is '3.10.2'\n    Downloading Python-3.10.2.tar.xz...\n    -\u003e https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tar.xz\n    Installing Python-3.10.2...\n    Installed Python-3.10.2 to /home/username/.pyenv/versions/3.10.2\n    $ pyenv local\n    3.10.2\n    $ pyenv global\n    3.6.15\n\nSet the global Python latest version.\n\n    $ pyenv latest global\n    $ python --version\n    Python 3.7.2\n\nPrint, but not install the latest 2.7-based version of Python\n\n    $ pyenv latest --print 2.7\n    2.7.15\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomo-lab%2Fxxenv-latest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmomo-lab%2Fxxenv-latest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomo-lab%2Fxxenv-latest/lists"}