I am trying to set up the AWS Serverless framework in Ubuntu 16.04 LTS. I installed Node.js and have also installed Serverless using the following command: npm install -g serverless in the terminal.
But when I try to run serverless it returns an error saying serverless: command not found. Below is a screenshot for reference:
