Git Product home page Git Product logo

dotfiles--dotbot-asdf's Introduction

dotbot-asdf

Install asdf plugins and programming languages with dotbot.

Prerequirements

This plugin requires dotbot to be installed.

Also, at runtime this plugin requires asdf command to be installed.

Installation

  1. Run:
git submodule add https://github.com/sobolevn/dotbot-asdf.git
  1. Modify your ./install with new plugin directory:
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir dotbot-asdf -c "${CONFIG}" "${@}"

Usage

Add required options to your install.conf.yaml:

# This example uses python, nodejs and ruby plugins:

- asdf:
  - plugin: python
    url: https://github.com/tuvistavie/asdf-python.git
  - plugin: nodejs
    url: https://github.com/asdf-vm/asdf-nodejs.git
  - plugin: ruby
    url: https://github.com/asdf-vm/asdf-ruby.git

Plugins can also be specified with just a name for known plugins:

# This example uses python, nodejs and ruby plugins:

- asdf:
  - plugin: python
  - plugin: nodejs
  - plugin: ruby

You can even install desired versions of languages and the global version:

# This example installs python 3.7.4, nodejs 12.10 and ruby 2.6.4:

- asdf:
  - plugin: python
    url: https://github.com/tuvistavie/asdf-python.git
    global: 3.7.4
    versions:
      - 3.7.4
  - plugin: nodejs
    url: https://github.com/asdf-vm/asdf-nodejs.git
    global: 12.10
    versions:
      - 12.10
  - plugin: ruby
    url: https://github.com/asdf-vm/asdf-ruby.git
    global: 2.6.4
    versions:
      - 2.6.4

That's it!

License

MIT. See LICENSE for more details.

dotfiles--dotbot-asdf's People

Contributors

jamesstidard avatar klane avatar pecigonzalo avatar sobolevn avatar

Watchers

 avatar

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.