volta setup takes care of volta being at the front of the path. However:
- I hand-maintain my
.profile
- What if two programs did this?
Today I found out the answer to question 2. PATH contained additional binaries by other "shim" programs, and as a result volta's shim node was shadowed by another node
I believe volta, on every run of volta install, should check $PATH and ensure that the just-installed command actually resolves to the shim binary. The which crate can be used for this. If that isn't the case, volta should at least emit a warning, or even error. From a user POV, nothing was installed.