Code Monkey home page Code Monkey logo

xenv's Introduction

xenv

An env to manage envs.

Introduction

xenv is a set of small self-contained shell scripts, used to install and update other scripts such as rbenv, pyenv, nodenv and their plugins.
xenv can update these scripts with git, allowing you to keep them frequently up-to-date.

Install

xenv can be installed system-wide or per-user.

For a system-wide install:

$ git clone https://github.com/Nax/xenv.git /opt/xenv

For a per user install:

$ git clone https://github.com/Nax/xenv.git ~/.xenv

Then, in your shell config, make sure xenv is in the PATH, and run

$ eval "$(xenv init - $SHELL)"

When using a system-wide installation, you will probably need to create some groups and manage permissions carefully.
For this reason, the user install is preferred in most cases.

Usage

Install rbenv:

$ xenv install rbenv

Install ruby-build (rbenv plugin):

$ xenv install -p rbenv ruby-build

Don't forget to xenv rehash after each env install.

Update installed envs, plugins and xenv itself:

$ xenv update

Remove nodenv:

$ xenv uninstall nodenv

Check what envs you can install:

$ xenv install -l

Check what plugins you can install:

$ xenv install -p -l

Check what envs are installed:

$ xenv install -L

Check what plugins are installed:

$ xenv install -p -L

License

xenv is distributed under the MIT license.

Author

The original xenv implementation was created by Maxime Bacoux (Nax).

xenv's People

Contributors

nax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xenv's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.