Plugin Install

Install a Serverless plugin and add it to the plugins array of serverless.yml. By default, a latest version is installed.

If you want a specific version, you can specify <pluginname>@<version> as name option.

Note: You might want to change the order of the plugin in the plugins array.

serverless plugin install --name pluginName

Options

  • --name or -n The plugins name. Required.

Provided lifecycle events

  • plugin:install:install

Examples

Install the serverless-webpack plugin

serverless plugin install --name serverless-webpack

Install a specific version

serverless plugin install --name serverless-webpack@3.0.0-rc.2
Edit this page

Plugin Install

Install a Serverless plugin and add it to the plugins array of serverless.yml. By default, a latest version is installed.

If you want a specific version, you can specify <pluginname>@<version> as name option.

Note: You might want to change the order of the plugin in the plugins array.

serverless plugin install --name pluginName

Options

  • --name or -n The plugins name. Required.

Provided lifecycle events

  • plugin:install:install

Examples

Install the serverless-webpack plugin

serverless plugin install --name serverless-webpack

Install a specific version

serverless plugin install --name serverless-webpack@3.0.0-rc.2