Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on windows I can`t use fnm in git ! #732

Closed
JohyC opened this issue May 5, 2022 · 4 comments
Closed

on windows I can`t use fnm in git ! #732

JohyC opened this issue May 5, 2022 · 4 comments

Comments

@JohyC
Copy link

JohyC commented May 5, 2022

I created Microsoft.PowerShell_profile.ps1 and add
[Environment]::SetEnvironmentVariable('FNM_DIR','C:\Application\Languages\fnm'); fnm env --use-on-cd | Out-String | Invoke-Expression
In PowerShell working is good!
But i cant`t use in git !!!
image

I need someone help me!😢😫😫

@citreae535
Copy link
Contributor

You are using Git Bash, not PowerShell. Please see how to set up fnm in bash

@JohyC
Copy link
Author

JohyC commented May 12, 2022

You are using Git Bash, not PowerShell. Please see how to set up fnm in bash

oh! oh! my god! i`m so stupid. I got it.thanks man!!!

@JohyC JohyC closed this as completed May 12, 2022
@JohyC JohyC reopened this May 19, 2022
@JohyC
Copy link
Author

JohyC commented May 19, 2022

You are using Git Bash, not PowerShell. Please see how to set up fnm in bash

In bash.bashrc add eval "$(fnm env --use-on-cd)";

I still can't get fnm to work in git!
I need some help!
image

@JohyC
Copy link
Author

JohyC commented May 19, 2022

I get a answer in #390

@JohyC JohyC closed this as completed May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants