← 全部工具

anyenv

热度 85 更新于 开发与构建

All in one for **env

homebrewauto-collected

安装

Homebrew
brew install anyenv

通过 Homebrew 安装。

anyenv - All in one for \\env

This is a simple wrapper for rbenv style environment managers. You don't have to git clone or modify your shell profile for each \\env anymore if you install anyenv.

Feedback required!

This repository is under development. All feedback are welcome! See https://github.com/anyenv/anyenv/issues

Getting started

1. Install and configure anyenv

#### Homebrew (for macOS user)

  • Install anyenv
  $ brew install anyenv
  • Set up anyenv in your shell.
  $ anyenv init

Follow the printed instructions.

  • Close your Terminal window and open a new one so your changes take effect.

You'll see a warning if you don't have manifest directory.

  ANYENV_DEFINITION_ROOT(/Users/riywo/.config/anyenv/anyenv-install) doesn't exist. You can initialize it by:
  > anyenv install --init

#### Manual git checkout

  • Clone anyenv into ~/.anyenv.
  $ git clone https://github.com/anyenv/anyenv ~/.anyenv