An open API service indexing awesome lists of open source software.

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

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]
````