asdf-vm / asdf-vm/asdf

asdf should auto install plugins for tool names it has in the short name repo

Open
#1,678 3 comments 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
25.6k
Forks
941
Avg merge
9h 24m
Merged PRs (30d)
3

Description

### Is your feature request related to a problem? Please describe

it would be nice if i didn't have to keep this kind of thing around in every asdf repo to quickly help my team mates onboard: https://raw.githubusercontent.com/airtonix/bankdownloader/master/setup.sh

### Describe the proposed solution

if a `.tool-version` file looks like :

```
nodejs 18.0.0
```

then `asdf install` should:

- check if `nodejs` plugin is not installed
- then it should attempt `asdf plugin add nodejs`
- then proceed as normal

### Describe similar `asdf` features and why they are not sufficient

the above script

### Describe other workarounds you've considered

giving up technology and becoming a goat herder.

Contributor guide

Open the contributing guide

Research direction

Read the linked setup.sh and the .tool-version example first, then trace the asdf install and asdf plugin add nodejs entry points. Done means asdf install detects an uninstalled plugin named in .tool-version, attempts to add it, and then proceeds with installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, shell
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.