npx create-react-app any-name
if the command has en error:
Error: EACCES: permission denied, mkdir '/Users/user/.npm/_npx'
TypeError: Cannot read property 'get' of undefined
Fix for it:
sudo yarn global add create-react-app
npx create-react-app any-name
if the command has en error:
Error: EACCES: permission denied, mkdir '/Users/user/.npm/_npx'
TypeError: Cannot read property 'get' of undefined
Fix for it:
sudo yarn global add create-react-app