This is a friendly way of suggesting that someone do something. You can use this phrase with anyone who you feel comfortable giving advice to.
Also be aware that this phrase can be used in a rude and angry-sounding way:
Why don't you shut the hell up?
Usually, if you are suggesting things that are positive and that the listener agrees with, you don't have to worry about sounding rude of angry.