mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
38 lines
806 B
Markdown
38 lines
806 B
Markdown
<!--
|
|
title: Serverless Framework Commands - AWS Lambda - Plugin Uninstall
|
|
menuText: plugin uninstall
|
|
menuOrder: 20
|
|
description: Uninstall a Serverless plugin
|
|
layout: Doc
|
|
-->
|
|
|
|
<!-- 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
|
|
```
|