asdf-vm / asdf-nodejs

Node.js plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
908 stars 144 forks source link

bug: give full path to asdf #365

Open zrusilla opened 1 year ago

zrusilla commented 1 year ago

In some use cases, such as scripted install, asdf is not yet added to PATH. Determine ASDF_DIR and give full pathname of asdf in bin/install.

augustobmoura commented 4 months ago

@zrusilla can you be more specific to which cases would asdf not be on PATH?

From a glance, I believe @Stratus3D is correct, a correct instalation of asdf should always have the asdf bin in PATH. If for some reason that is not the case for you setup, you should add ASDF_DIR/bin to PATH before calling any asdf-nodejs scripts