Giter Site home page Giter Site logo

asdf-simple-download's Introduction

asdf-simple-download Build Lint

simple-download plugin for the asdf version manager.

Contents

Usage

asdf-simple-download is an asdf plugin that allows asdf to handle download files from any arbitrary URL. It enables you to easily add any software for which an asdf plugin does not exist to asdf.

Dependencies

TODO: adapt this section

  • bash, curl, tar: generic POSIX utilities.
  • SOME_ENV_VAR: set this environment variable in your shell config to load the correct version of tool x.

Install

Install plugin:

# require: Set the URL of the archive file to be downloaded.
export ASDF_PLUGIN_DOWNLOAD_URL=https://example.com/example-software-1.0.0.tar.gz

# Set an arbitrary plugin name
export PLUGIN_NAME=example

asdf plugin add $PLUGIN_NAME https://github.com/buty4649/asdf-simple-download.git

Use plugin:

# Show all installable versions
asdf list-all $PLUGIN_NAME

# Install specific version
asdf install $PLUGIN_NAME latest

# Set a version globally (on your ~/.tool-versions file)
asdf global $PLUGIN_NAME latest

# Now simple-download commands are available
$PLUGIN_NAME --help

Check asdf readme for more instructions on how to install & manage versions.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © buty4649

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.