My path variable is not updated.
I have installed angular.
Code:
export PATH=$PATH:~/.npm-global/bin
source ~/.bashrc
It did not work after restarting the terminal.
But worked on that session. I was able to use "ng"
Then i tried
Code:
export PATH=$PATH:~/.npm-global/bin
source ~/.bash_profile
Same. It worked on that session.
After restarting terminal, it did not work.
echo $PATH is not showing ".npm-global/bin" after restarting the terminal
It is fedora latest.
Code:
echo $SHELL
/bin/bash
Code:
mahesh@fedora:~$ ls .
./ .config/ .npmrc
../ .dotnet/ .pki/
.angular-config.json .gnome/ .quokka/
.bash_history .local/ .var/
.bash_logout .mozilla/ .viminfo
.bash_profile .mysql/ .vscode/
.bashrc .npm/ .wallaby/
.cache/ .npm-global/