Article
home/blog/Loading

How to add environment path to Fish terminal

This is how you add an environment path to Fish terminal

The short guide

npm config get prefix

/home/john/.npm-global

micro ~/.config/fish/config.fish

add the following

set PATH /home/john/.npm-global/bin $PATH