How oh-my-posh get NodeJS version #5857
-
node -v return the right version that is installed globally started to experiment with nvm for windows and installed version 20.18.0 then after few dyas uninstalled it - removed all folders created even reinstalled node again now everytime I start powershell in node folder it show 20.18.0 ... how it check for version of node ? block that I use
no matter that i put in "template" always return v20 (partial or full) there is no env folders in windows from nvm - only C:\Program Files\nodejs\ is in system variables Win 11 nodes for python (4 global , multiple from condas and venv) always works ad return proper version but somehow cant figure how Node get version info |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@damadorPL It's due to the (global) caching mechanism of a language segment. Please wait for #5859 which will allow disabling the cache. |
Beta Was this translation helpful? Give feedback.
@damadorPL you need to clear the cache as well for it to get picked up:
oh-my-posh cache clear