DevOps for Serverless Applications
上QQ阅读APP看书,第一时间看更新

Installation of Serverless Framework

Go through the following steps:

  1. Install Node.js 4.0 or higher from https://nodejs.org/en/download/ . Once installed, we can verify installation through the following command:
 $ node --version

  1. Now we need to install Serverless Framework globally through the following command:
 $ npm install -g serverless
  1. Once installed successfully, we can verify the installation by using the following command. It will show all the framework commands and documentation: 
$ serverless
  1. We can also see the version of Serverless Framework installed by using the following command: 
$ serverless --version