Green’s Dictionary of Slang

dude! excl.

(US campus) a mild excl., synon. with SE wow!, gee! excl., shit! excl. (2) etc. and generally implying agreement or approval.

[US]P. Munro Sl. U. 74: Dude! Hey! Wow! Gee! Shit!
[US]D. Burke Street Talk 2 17: Dude! Look at that!
[US]Eble Campus Sl. Apr. 3: dude – response covering a range of meanings from agreement to incredulity.
[US]Eble Campus Sl. Apr. 3: dude – [...] affirmative response.