How to Install cfn-lambda NPM Packages on Ubuntu / Debian

How to Install cfn-lambda software package in NPM Packages

cfn-lambda : CloudFormation custom resource helper for Lambda Node.js runtime. You can installing cfn-lambda npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install cfn-lambda
$ sudo npm install -g cfn-lambda

If want to update the cfn-lambda package execute the command as below,

$ sudo npm update cfn-lambda

Update package globally,

$ npm install -g cfn-lambda

Git clone:

$ sudo  git clone https://github.com/rektide/cfn-lambda.git
$ sudo  npm install -g ./cfn-lambda

cfn-lambda@2.1.1 /usr/lib/node_modules/cfn-lambda

How to remove cfn-lambda package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall cfn-lambda

Basic Information of cfn-lambda NPM Package:

Package Name cfn-lambda
Version 2.1.1
Description CloudFormation custom resource helper for Lambda Node.js runtime
Released Date 2017-08-15T06:19:14.206Z
Published by andrew-templeton
How to Learn https://www.npmjs.com/package/cfn-lambda/tutorial