I try to install a jar file locally in a maven project in netbeans using CMD command

According to this example:

```
mvn install:install-file -Dfile=<path-to-file> \
    -DgroupId=<group-id> -DartifactId=<artifact-id> \
    -Dversion=<version> -Dpackaging=<packaging>

```

from [here](https://softwarecave.org/2014/06/14/adding-external-jars-into-maven-project/)

I run this command

```
mvn install:install-file -Dfile=C:\opt\glassfish4\glassfish\domains\domain1\applications\myapplication\files\rrunner_jar\Ropt.jar \ -DgroupId=acaller -DartifactId=ACaller \ -Dversion=1.4 -Dpackaging=jar

```

In the cd path `C:/Users/Alia`

but I receive this error

```
'mvn' is not recognized as an internal or external command,
operable program or batch file.

```

How can I run it properly?