code: function AttemptRootSymlink() {
  
      if (process.platform === 'win32') {
        var curPath = resolve("./");
        if (debugging) {
            console.log("RootSymlink Base path is", curPath);
        }
        cp.execSync("powershell -Command \"Start-Process 'node' -ArgumentList '"+curPath+"/install.js symlink' -verb runas\"");
      } else {
        console.log("To automatically create a SymLink between your web app and NativeScript, we need root for a second.");
        cp.execSync("sudo "+process.argv[0] + " " + process.argv[1] +" symlink");
      }
  }
docs: This will attempt to run the install script as root to make a symlink