Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . emr ]



Installs applications on a running cluster. Currently only Hive and Pig can be installed using this command, and this command is only supported by AMI versions (3.x and 2.x).

See 'aws help' for descriptions of global parameters.


--cluster-id <value>
--applications <value> [<value>...]


--cluster-id (string)

A unique string that identifies a cluster. The create-cluster command returns this identifier. You can use the list-clusters command to get cluster IDs.

--applications (list)

The applications to be installed. Takes the following parameters: Name and Args .


Name -> (string)

Application name.

Args -> (list)

A list of arguments to pass to the application.


Shorthand Syntax:

Name=string,Args=string,string ...

JSON Syntax:

    "Args": ["string", ...]

See 'aws help' for descriptions of global parameters.