SyntaxFix
Write A Post
Hire A Developer
Questions
Type the command mvn -version directly in your maven directory, you probably haven't added it to your PATH. Here are explained details of how to add maven to your PATH variable (I guess you use Windows because you are talking about CMD).
mvn -version