Hello!
"Dude" is a very informal word and it is perfectly acceptable for you to use it! Many non-native speakers tend to say something along the lines of "Hey guy" when they mean to be informal, however "Hey dude" would be more natural and correct. Enjoy, and if you have any more questions please contact me!
Trenton