Have questions?

Head over to the forums to search for your questions and issues or post a new one.

Edit on github


The run command starts the serverless service locally.

serverless run

# Shorthand
sls run

#Supported Languages

NOTE: currently supports node js 6.3+ only

#Supported Providers

  • AWS Lambda
  • Google Cloud Functions (Pub/Sub only, HTTP coming soon)


  • --debug or -d Start the emulator in debug mode
  • --eport or -e The Event Gateway API port. Defaults to 4000
  • --cport or -c The Event Gateway configuration port. Defaults to 4001
  • --lport or -l The Emulator port. Defaults to 4002

#Provided lifecycle events

  • run:run