added check for version
echo path if node was installed
exit if no version is named