Skip to content

Commit 87fd625

Browse files
Sujitale07mikeesto
andauthored
feat:improve-fnm-download-instructions (#6946)
* feat:improve-fnm-download-instructions * Update apps/site/i18n/locales/en.json Co-authored-by: Michael Esteban <[email protected]> Signed-off-by: Sujit Ale Magar <[email protected]> --------- Signed-off-by: Sujit Ale Magar <[email protected]> Co-authored-by: Michael Esteban <[email protected]>
1 parent 91ea27d commit 87fd625

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/site/i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
"platform": "Platform"
291291
},
292292
"codeBox": {
293+
"fnmEnvSetup": "configure fnm environment",
293294
"systemManagerWarning": "is not a Node.js package manager. Please ensure you already have {packageManager} installed.",
294295
"communityWarning": "Package managers and their installation scripts are not maintained by the Node.js project.",
295296
"communityWarningReport": "If you encounter issues, please reach out to the package manager's maintainers.",

apps/site/util/getNodeDownloadSnippet.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ export const getNodeDownloadSnippet = (
8888
# ${t('layouts.download.codeBox.installsFnm')}
8989
winget install Schniz.fnm
9090
91+
# ${t('layouts.download.codeBox.fnmEnvSetup')}
92+
fnm env --use-on-cd | Out-String | Invoke-Expression
93+
9194
# ${t('layouts.download.codeBox.downloadAndInstallNodejs')}
9295
fnm use --install-if-missing ${release.major}
9396

0 commit comments

Comments
 (0)