gats gatsby-plugin-offline

Shell
npm install --save gatsby-plugin-offline

# Yarn
yarn add gatsby-plugin-offline
Source

Also in Shell: