{"id":13567656,"url":"https://github.com/anyenv/anyenv","last_synced_at":"2025-05-15T12:03:34.892Z","repository":{"id":8895411,"uuid":"10616498","full_name":"anyenv/anyenv","owner":"anyenv","description":"All in one for **env","archived":false,"fork":false,"pushed_at":"2023-12-16T04:48:42.000Z","size":92,"stargazers_count":1853,"open_issues_count":10,"forks_count":94,"subscribers_count":48,"default_branch":"master","last_synced_at":"2025-04-14T19:59:26.431Z","etag":null,"topics":["shell"],"latest_commit_sha":null,"homepage":"https://anyenv.github.io","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/anyenv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":["riywo"],"patreon":null,"open_collective":null,"ko_fi":"riywo","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2013-06-11T07:16:13.000Z","updated_at":"2025-03-24T02:00:34.000Z","dependencies_parsed_at":"2024-06-20T08:17:41.582Z","dependency_job_id":null,"html_url":"https://github.com/anyenv/anyenv","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyenv%2Fanyenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyenv%2Fanyenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyenv%2Fanyenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyenv%2Fanyenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anyenv","download_url":"https://codeload.github.com/anyenv/anyenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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":["shell"],"created_at":"2024-08-01T13:02:38.015Z","updated_at":"2025-05-15T12:03:34.870Z","avatar_url":"https://github.com/anyenv.png","language":"Shell","funding_links":["https://github.com/sponsors/riywo","https://ko-fi.com/riywo"],"categories":["List of \\*env-, ch\\*- and \\*vm- style version managers","Shell","Version Managers"],"sub_categories":["Generic"],"readme":"![anyenv logo](https://anyenv.github.io/assets/img/logo.png)\n\n# anyenv - All in one for \\*\\*env\n\nThis is a simple wrapper for [rbenv](https://github.com/rbenv/rbenv) style environment managers. You don't have to git clone or modify your shell profile for each \\*\\*env anymore if you install anyenv.\n\n## Feedback required!\n\n**This repository is under development.** All feedback are welcome! See https://github.com/anyenv/anyenv/issues\n\n## Getting started\n\n### 1. Install and configure `anyenv`\n\n#### Homebrew (for macOS user)\n1. Install anyenv\n\n  ```\n  $ brew install anyenv\n  ```\n\n2. Set up anyenv in your shell.\n\n  ```\n  $ anyenv init\n  ```\n  \n  Follow the printed instructions.\n\n3. Close your Terminal window and open a new one so your changes take effect.\n\n  You'll see a warning if you don't have manifest directory.\n  \n  ```\n  ANYENV_DEFINITION_ROOT(/Users/riywo/.config/anyenv/anyenv-install) doesn't exist. You can initialize it by:\n  \u003e anyenv install --init\n  ```\n\n#### Manual git checkout\n1. Clone anyenv into `~/.anyenv`.\n\n  ```\n  $ git clone https://github.com/anyenv/anyenv ~/.anyenv\n  ```\n    \n2. Add `~/.anyenv/bin` to your `$PATH` for access to the `anyenv` command-line utility.\n   * For **bash**:\n     ```\n     $ echo 'export PATH=\"$HOME/.anyenv/bin:$PATH\"' \u003e\u003e ~/.bash_profile\n     ```\n     \n   * For **Ubuntu Desktop**:\n     ```\n     $ echo 'export PATH=\"$HOME/.anyenv/bin:$PATH\"' \u003e\u003e ~/.bashrc\n     ```\n     \n   * For **Zsh**:\n     ```\n     $ echo 'export PATH=\"$HOME/.anyenv/bin:$PATH\"' \u003e\u003e ~/.zshrc\n     ```\n   \n   * For **Fish shell**:\n     ```\n     $ set -Ux fish_user_paths $HOME/.anyenv/bin $fish_user_paths\n     ```\n3. Set up anyenv in your shell.\n\n  ```\n  $ ~/.anyenv/bin/anyenv init\n  ```\n  \n  Follow the printed instructions.\n\n4. Close your Terminal window and open a new one so your changes take effect.\n\n  You'll see a warning if you don't have manifest directory.\n  \n  ```\n  ANYENV_DEFINITION_ROOT(/Users/riywo/.config/anyenv/anyenv-install) doesn't exist. You can initialize it by:\n  \u003e anyenv install --init\n  ```\n\n### 2. Initialize install manifest directory\n\nIf you want, you can initialize install manifest directory with [anyenv/anyenv-install](https://github.com/anyenv/anyenv-install).\n\n![anyenv install --init](https://anyenv.github.io/assets/img/demo/install-init.gif)\n\nIf you have own manifest repository, you can specify it:\n\n```\n$ anyenv install --init https://github.com/foo/anyenv-install.git\nManifest directory doesn't exist: /Users/riywo/.config/anyenv/anyenv-install\nDo you want to checkout https://github.com/foo/anyenv-install.git? [y/N]:\n```\n\n## Usage\n\nInstall any **env in your manifest directory:\n\n```\n$ anyenv install rbenv\n$ anyenv install pyenv\n$ anyenv install nodenv\n$ exec $SHELL -l\n\n$ rbenv install ...\n$ pyenv install ...\n$ nodenv install ...\n```\n\nUpdate your manifest directory:\n\n![anyenv install --update](https://anyenv.github.io/assets/img/demo/install-update.gif)\n\n## Configuration\n\n### `ANYENV_DEFINITION_ROOT`\nThis is the directory containing install manifests. Manifests should be directly under this directory:\n\n```\n$ tree ~/.config/anyenv/anyenv-install\n/Users/riywo/.config/anyenv/anyenv-install\n├── Renv\n...\n├── scalaenv\n└── swiftenv\n```\n\nIf it is not defined by user, it uses fallbacks:\n\n- `${XDG_CONFIG_HOME}/anyenv/anyenv-install` if `${XDG_CONFIG_HOME}` is defined\n- `${HOME}/.config/anyenv/anyenv-install` by default\n\n## Plugins\n\n- [znz/anyenv-update](https://github.com/znz/anyenv-update)\n- [znz/anyenv-git](https://github.com/znz/anyenv-git)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyenv%2Fanyenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyenv%2Fanyenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyenv%2Fanyenv/lists"}