You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm most likely an idiot who doesnt understand all of this but on a fresh install of Arch running Sway(wayland) and fish. I install this plugin and open nvm which works in every new shell and terminal window i open. i then install LTS node version and i also use it.
In my mind node and npm would be available in a new shell but it's not.
I get fish: Unknown command: npm
In order to get it to work globally was to do in my fish config:
nvm use v22.14.0 lts/jod > /dev/null 2>&1
the extra part was just to get rid of the the version text showing in all new terminal windows. this seems like a hacky way to solve this.
I mean, isn't this exactly what nvm is for so i dont have to bother with these types of configs myself? Am i supposed to have a .npmrc in my home folder or something?
I'm sure there is something im missing.
The text was updated successfully, but these errors were encountered:
I'm most likely an idiot who doesnt understand all of this but on a fresh install of Arch running Sway(wayland) and fish. I install this plugin and open nvm which works in every new shell and terminal window i open. i then install LTS node version and i also use it.
In my mind node and npm would be available in a new shell but it's not.
I get
fish: Unknown command: npm
In order to get it to work globally was to do in my fish config:
nvm use v22.14.0 lts/jod > /dev/null 2>&1
the extra part was just to get rid of the the version text showing in all new terminal windows. this seems like a hacky way to solve this.
I mean, isn't this exactly what nvm is for so i dont have to bother with these types of configs myself? Am i supposed to have a .npmrc in my home folder or something?
I'm sure there is something im missing.
The text was updated successfully, but these errors were encountered: