Where is node red installed on Linux

Hey i dont know how to find the folder where node red is installed.

On linux you can do:

which node-red

But that will point you to node-red itself, are you looking for the directory with the flows/settings ?
If yes: cd ~/.node-red

How did you install node-red?

Are you looking for the source code or where it saves your flows etc?