diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Go.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Go.kt
index 3da6420..af0e1a2 100644
--- a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Go.kt
+++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Go.kt
@@ -34,7 +34,9 @@ fun Prov.installGo(
         cmd("tar -C /usr/local -xzf $target/go1.23.5.linux-amd64.tar.gz", sudo = true)
         deleteFile("$target/$filename")
         configureBashForUser()
-        createFile("~/.bashrc.d/go.sh", "export PATH=\$PATH:/usr/local/go/bin\n")
+        val bashConfigFile = "~/.bashrc.d/go.sh"
+        val content = "export PATH=\$PATH:/usr/local/go/bin\n"
+        createFile(bashConfigFile, content)
         // check and assert installation
         addResult(checkGoVersion(version), info = "Go version $version has been installed.")
     } else {
diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NpmByNvm.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NpmByNvm.kt
index 0bcf674..74bffdb 100644
--- a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NpmByNvm.kt
+++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NpmByNvm.kt
@@ -26,7 +26,7 @@ fun Prov.installNpmByNvm(version: String = "0.40.1"): ProvResult = task {
         val content = """
             export NVM_DIR="${userHome()}.nvm"
             [ -s "${"\$NVM_DIR/nvm.sh"}" ] && \. "${"\$NVM_DIR/nvm.sh"}"
-            """.trimIndent()
+            """ + "\n".trimIndent()
         createFile(bashConfigFile, content)
 
         // install Node.js and NPM