This question already has an answer here:
Am currently trying to learn Dapps, and trying to initiate Truffle. But, when I use the command "truffle console" in the Git CMD window, rather than opening the console, it opens up the 'truffle.js' file in my Adobe Brackets for editing. Not sure what to do here. Am attaching the images of the input and the output.