Article 6JQG2 bash ng: command not found

bash ng: command not found

by
mahesh.riddles
from LinuxQuestions.org on (#6JQG2)
My path variable is not updated.
I have installed angular.

Code:export PATH=$PATH:~/.npm-global/bin
source ~/.bashrcIt 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_profileSame. 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/bashCode: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/
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments