├── LICENSE.txt ├── README.md ├── Renv ├── crenv ├── denv ├── erlenv ├── exenv ├── goenv ├── hsenv ├── jenv ├── jlenv ├── kubectlenv ├── luaenv ├── nodenv ├── phpenv ├── plenv ├── pyenv ├── rbenv ├── sbtenv ├── scalaenv ├── swiftenv └── tfenv /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Ryosuke IWANAGA 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # anyenv-install 2 | 3 | Default install manifests for [anyenv](https://github.com/anyenv/anyenv). 4 | 5 | ## EXAMPLE 6 | For example, `rbenv`: 7 | 8 | ``` 9 | install_env https://github.com/rbenv/rbenv.git 10 | install_plugin ruby-build https://github.com/rbenv/ruby-build.git 11 | ``` 12 | 13 | It will create these directories after `anyenv install rbenv`: 14 | 15 | ``` 16 | /Users/riywo/.anyenv/envs 17 | └── rbenv 18 | └── plugins 19 |    └── ruby-build 20 | ``` 21 | 22 | ## SPECIFICATION 23 | 24 | Install manifest is just a shell script. You have to add at least one line using `install_env` function. Also, you can install its plugins by using `install_plugin` function. 25 | 26 | ### `install_env` 27 | Install **env into `ANYENV_ENVS_ROOT`. It will create a directory using the same name of the manifest file. 28 | 29 | #### USAGE 30 | ``` 31 | install_env git_url [git_ref] 32 | ``` 33 | 34 | ### `install_plugin` 35 | Install a plugin under `plugins` directory inside the env directory which is created by `install_env`. It will create a directory named by specified `destination`. 36 | 37 | #### USAGE 38 | ```` 39 | install_plugin destination git_url [git_ref] 40 | ```` 41 | -------------------------------------------------------------------------------- /Renv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/viking/Renv.git Renv 2 | install_plugin R-build https://github.com/viking/R-build.git R-build 3 | -------------------------------------------------------------------------------- /crenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/crenv/crenv.git 2 | install_plugin crystal-build https://github.com/crenv/crystal-build.git 3 | -------------------------------------------------------------------------------- /denv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/repeatedly/denv.git 2 | -------------------------------------------------------------------------------- /erlenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/talentdeficit/erlenv.git 2 | -------------------------------------------------------------------------------- /exenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/exenv/exenv.git 2 | install_plugin elixir-build https://github.com/mururu/elixir-build.git 3 | -------------------------------------------------------------------------------- /goenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/syndbg/goenv.git 2 | -------------------------------------------------------------------------------- /hsenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/wereHamster/hsenv.git 2 | -------------------------------------------------------------------------------- /jenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/jenv/jenv.git 2 | -------------------------------------------------------------------------------- /jlenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/HiroakiMikami/jlenv 2 | install_plugin julia-build https://github.com/HiroakiMikami/julia-build 3 | -------------------------------------------------------------------------------- /kubectlenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/PatTheSilent/kubectlenv.git 2 | -------------------------------------------------------------------------------- /luaenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/cehoffman/luaenv.git 2 | install_plugin lua-build https://github.com/cehoffman/lua-build 3 | -------------------------------------------------------------------------------- /nodenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/nodenv/nodenv.git 2 | install_plugin node-build https://github.com/nodenv/node-build.git 3 | install_plugin nodenv-vars https://github.com/nodenv/nodenv-vars.git 4 | -------------------------------------------------------------------------------- /phpenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/phpenv/phpenv.git 2 | install_plugin php-build https://github.com/php-build/php-build.git 3 | install_plugin phpenv-composer https://github.com/ngyuki/phpenv-composer 4 | -------------------------------------------------------------------------------- /plenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/tokuhirom/plenv.git 2 | install_plugin perl-build https://github.com/tokuhirom/Perl-Build.git 3 | -------------------------------------------------------------------------------- /pyenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/pyenv/pyenv.git 2 | -------------------------------------------------------------------------------- /rbenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/rbenv/rbenv.git 2 | install_plugin ruby-build https://github.com/rbenv/ruby-build.git 3 | -------------------------------------------------------------------------------- /sbtenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/sbtenv/sbtenv.git 2 | -------------------------------------------------------------------------------- /scalaenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/scalaenv/scalaenv.git 2 | -------------------------------------------------------------------------------- /swiftenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/kylef/swiftenv.git 2 | -------------------------------------------------------------------------------- /tfenv: -------------------------------------------------------------------------------- 1 | install_env https://github.com/tfutils/tfenv.git 2 | --------------------------------------------------------------------------------