0

I have installed zsh and oh-my-zsh on WSL following this tutorial. They both work fine but it seems that my previous installs don't work, such as npm.

Does anything else need to be done?

uber
  • 2,453
  • 2
  • 16
  • 36

1 Answers1

1

Duplicate of Adding a new entry to the PATH variable in ZSH

add this line to .zshrc: export PATH=$PATH (add path of npm if not already in $PATH.) source ~/.zshrc

or do one of these: echo -n 'export PATH=~/bin:$PATH' >> ~/.zshrc

echo -n 'export PATH=$HOME/bin:$PATH' >> ~/.zshrc

WSLUser
  • 541
  • 4
  • 9