I'm searching for a Maven CLI command to install a Maven artifact (e.g. jar library) from a remote Maven repository. I don't want to manually download the artifact first, so that I can install it. I'm looking for a command like npm install rxjs
, which automatically downloads rxjs
and installs it as a dependeny to my project.
Is there an equivalent command available for Maven?