Asdf Ubuntu 18.04 Installation – Step-by-step

August 15, 2023 | By the+gnu+linux+evangelist.

Getting Started

  1. 5. Searching asdf Plugins

    So to Search a Software Plugin
    Listing all available Plugins:

    asdf plugin list all

    For more insight see: Asdf Plugin List!
    For a specific choice:

    asdf plugin list all [MYPLUGIN]

    Like:

    asdf plugin list all nodejs

    To refine the output use the grep Tool like:

    asdf plugin list all | grep -i [KEYWORD]

    So for example using the “rus” Keyword:

    asdf plugin list all | grep -i node
  2. 6. Installing asdf Plugin

    Next to Install asdf Plugin
    By their Short-name:

    asdf plugin add [SHORTNAME]

    So for instance:

    asdf plugin add nodejs

    But more precisely you can install it also using the GitHub Url as:

    asdf plugin add [SHORTNAME] [GITURL]

    For further Insight see the Official Documentation.

  3. 7. Installing Software

    Now to Install Software Release
    To List all the available Releases:

    asdf list all [MYSOFTWARE]

    In our case so:

    asdf list all nodejs

    To Install one:

    asdf install nodejs [VERSION]

    And for the latest:

    asdf install nodejs latest

    Especially relevant: the Software is then directly available on the User’s PATH.
    For further Insight see the Official Documentation.

  4. 8. Managing Software

    Last, to Manage Software Versions
    Often it’s Required to Set a Software Version!
    In case of NodeJs as Global:

    asdf global nodejs [MYVERSION]

    Instead just only for the Local Directory:

    asdf local nodejs [MYVERSION]

    For further Insight see the Official Documentation.

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress