Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion apps/site/snippets/en/download/fnm.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@ ${props.os === 'WIN' ?
'curl -o- https://fnm.vercel.app/install | bash'
}

# In lieu of restarting the shell
${props.os === 'WIN' ?
'fnm env --use-on-cd --shell powershell | Out-String | Invoke-Expression' :
Comment thread
bmuenzenmeyer marked this conversation as resolved.
Resolved
'export PATH="$HOME/.local/share/fnm:$PATH"\neval "$(fnm env)"'
}

# Download and install Node.js:
fnm install ${props.release.major}
fnm install --use ${props.release.major}
2 changes: 1 addition & 1 deletion apps/site/util/download/constants.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"icon": "FNM",
"name": "fnm",
"compatibility": {
"os": ["MAC", "LINUX"]
"os": ["MAC", "LINUX", "WIN"]
},
"recommended": true,
"url": "https://github.com/Schniz/fnm",
Expand Down
Loading