Node Red Installation on Mac

Hi All,

I am beginner to node. I installed Nodejs and Node Red on my Mac . However when I enter node red command in Terminal. I get following errors. I tried uninstalling and installing but I still continue to get the same error. Experts please help me to get started.

throw err;

Error: Cannot find module '/Users/Avinash/red'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

That looks like you are running node red. The command you should run is node-red.

Thank You so much. It worked.