https://github.com/anyenv/anyenv-install
Default anyenv install manifests
https://github.com/anyenv/anyenv-install
Last synced: over 1 year ago
JSON representation
Default anyenv install manifests
- Host: GitHub
- URL: https://github.com/anyenv/anyenv-install
- Owner: anyenv
- License: mit
- Created: 2018-12-27T00:03:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T09:09:09.000Z (over 3 years ago)
- Last Synced: 2025-01-05T22:27:15.039Z (over 1 year ago)
- Homepage:
- Size: 13.7 KB
- Stars: 12
- Watchers: 5
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# anyenv-install
Default install manifests for [anyenv](https://github.com/anyenv/anyenv).
## EXAMPLE
For example, `rbenv`:
```
install_env https://github.com/rbenv/rbenv.git
install_plugin ruby-build https://github.com/rbenv/ruby-build.git
```
It will create these directories after `anyenv install rbenv`:
```
/Users/riywo/.anyenv/envs
└── rbenv
└── plugins
└── ruby-build
```
## SPECIFICATION
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.
### `install_env`
Install **env into `ANYENV_ENVS_ROOT`. It will create a directory using the same name of the manifest file.
#### USAGE
```
install_env git_url [git_ref]
```
### `install_plugin`
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`.
#### USAGE
````
install_plugin destination git_url [git_ref]
````