diff --git a/ts/index.ts b/ts/index.ts index 28296da..c28d86a 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -22,4 +22,4 @@ if (typeof cmdValue === 'undefined') { } console.log('command:', cmdValue); console.log('node Version:', nodeValue); -shelljs.exec("bash -x \"source /usr/local/nvm/.nvm.sh && nvm install "+ nodeValue + "\""); \ No newline at end of file +shelljs.exec("bash -c \"source /usr/local/nvm/nvm.sh && nvm install "+ nodeValue + " nvm alias default " + nodeValue" "\""); \ No newline at end of file