mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
33 lines
775 B
Markdown
33 lines
775 B
Markdown
<!--
|
|
title: Serverless Install CLI Command
|
|
menuText: Install
|
|
description: Install a service from a GitHub URL in your current working directory
|
|
layout: Doc
|
|
-->
|
|
|
|
# Install
|
|
|
|
Installs a service from a GitHub URL in the current working directory.
|
|
|
|
```
|
|
serverless install --url https://github.com/some/service
|
|
```
|
|
|
|
## Options
|
|
- `--url` or `-u` The services GitHub URL. **Required**.
|
|
|
|
## Provided lifecycle events
|
|
- `install:install`
|
|
|
|
## Examples
|
|
|
|
### Installing a service from a GitHub URL
|
|
|
|
```
|
|
serverless install --url https://github.com/johndoe/authentication
|
|
```
|
|
|
|
This example will download the .zip file of the `authentication` service from GitHub,
|
|
create a new directory with the name `authentication` in the current working directory
|
|
and unzips the files in this directory.
|