Skip to content

Commit

Permalink
feat:improve-fnm-download-instructions (#6946)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
Sujitale07 and mikeesto authored Aug 4, 2024
1 parent 91ea27d commit 87fd625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/site/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
"platform": "Platform"
},
"codeBox": {
"fnmEnvSetup": "configure fnm environment",
"systemManagerWarning": "is not a Node.js package manager. Please ensure you already have {packageManager} installed.",
"communityWarning": "Package managers and their installation scripts are not maintained by the Node.js project.",
"communityWarningReport": "If you encounter issues, please reach out to the package manager's maintainers.",
Expand Down
3 changes: 3 additions & 0 deletions apps/site/util/getNodeDownloadSnippet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ export const getNodeDownloadSnippet = (
# ${t('layouts.download.codeBox.installsFnm')}
winget install Schniz.fnm
# ${t('layouts.download.codeBox.fnmEnvSetup')}
fnm env --use-on-cd | Out-String | Invoke-Expression
# ${t('layouts.download.codeBox.downloadAndInstallNodejs')}
fnm use --install-if-missing ${release.major}
Expand Down

0 comments on commit 87fd625

Please sign in to comment.