Fn - Installation

Installing Fn

Fn can be run in its simplest form as a docker container:

docker run --name fnserver --rm -i -v $(pwd)/data:/app/data -v \
/var/run/docker.sock:/var/run/docker.sock --privileged -p 8080:8080 \
--entrypoint ./fnserver fnproject/fnserver

For more advanced and robust install options see: Operating FN

Installing the Serverless Framework

Next, install the Serverless Framework via npm which was already installed when you installed Node.js.

Open up a terminal and type npm install -g serverless to install Serverless.

npm install -g serverless

Once the installation process is done you can verify that Serverless is installed successfully by running the following command in your terminal:


To see which version of serverless you have installed run:

serverless --version
Go to Github