2016-10-05 12:53:14 -07:00

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.