I installed blitz like this yarn global add blitz but then when I try to create a new project blitz new myApp I get this error zsh: command not found: blitz.
I guess I have to add something to my $HOME/.zshrc file but I don't know what.
How can I fix this?
This is my $HOME/.zshrc:
export ZSH="/Users/user/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git)
source $ZSH/oh-my-zsh.sh
I end up using
npm install -g blitz --legacy-peer-depsto install it.