nvm_get_latest

This relates to #522, #561, #400.