mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
37 lines
942 B
Markdown
37 lines
942 B
Markdown
<!--
|
|
title: Serverless Framework Commands - AWS Lambda - Plugin Uninstall
|
|
short_title: Plugin Uninstall
|
|
description: Uninstall a Serverless plugin and remove it from the services `plugins` array using the Serverless Framework CLI.
|
|
keywords: ['Serverless', 'Framework', 'AWS Lambda', 'plugin', 'uninstall']
|
|
-->
|
|
|
|
<!-- DOCS-SITE-LINK:START automatically generated -->
|
|
|
|
### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/plugin-uninstall)
|
|
|
|
<!-- DOCS-SITE-LINK:END -->
|
|
|
|
# Plugin Uninstall
|
|
|
|
Uninstall a Serverless plugin and remove it from the services `plugins` array.
|
|
|
|
```bash
|
|
serverless plugin uninstall --name pluginName
|
|
```
|
|
|
|
## Options
|
|
|
|
- `--name` or `-n` The plugins name. **Required**.
|
|
|
|
## Provided lifecycle events
|
|
|
|
- `plugin:uninstall:uninstall`
|
|
|
|
## Examples
|
|
|
|
### Remove the `serverless-webpack` plugin
|
|
|
|
```bash
|
|
serverless plugin uninstall --name serverless-webpack
|
|
```
|