admin管理员组

文章数量:1332377

I follow this: and get the first part of the installation to work in the terminal, and some installation seems to happen, I agree to license terms. Then, when I try the 2nd "fnm env..." I get "fnm : The term 'fnm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s pelling of the name, or if a path was included, verify that the path is correct". I've tried in powershell and vs code too without success and been looking online to find out why it's not working but find nothing. Anyone able to be of assistance?

I follow this: https://nodejs./en/download/package-manager and get the first part of the installation to work in the terminal, and some installation seems to happen, I agree to license terms. Then, when I try the 2nd "fnm env..." I get "fnm : The term 'fnm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s pelling of the name, or if a path was included, verify that the path is correct". I've tried in powershell and vs code too without success and been looking online to find out why it's not working but find nothing. Anyone able to be of assistance?

Share Improve this question asked Nov 21, 2024 at 7:43 darthfarnsworthdarthfarnsworth 11 silver badge 2
  • That error is because you don't have fnm installed (or it isn't in your PATH or environment). Go back to the NodeJS download page and choose "Prebuilt installer". (I'm surprised that isn't the default option). – Dai Commented Nov 21, 2024 at 7:45
  • Perfect, thank you so much! – darthfarnsworth Commented Nov 21, 2024 at 8:39
Add a comment  | 

1 Answer 1

Reset to default 1

You just need to restart your Powershell and it will work.

本文标签: terminalHaving issues installing NodejsStack Overflow