Fixed use of ~/.nvm, added curl.