Once the prerequisites are met, installing the framework is as simple as firing this command via the CLI:
npm install serverless
Once this is installed, you can verify the installation by doing serverless -v.
The sample output is as follows:
Ameyas-MacBook-Pro:letspoll Webonise$ serverless -v1.30.3