How to install PageShare locally?

Krystian Kruk

To use it locally on your machine, go to the directory you have your web app project, built it and execute:

npx @pageshare/cli ./dist


npm install -g @pageshare/cli
pageshare ./dist

Replace ./dist with a path to your built frontend project (must include index.html file).

In order to finish the process, you need to create an account on and provide your personal access token in a command as --access-token ... or as an environment variable PAGESHARE_ACCESS_TOKEN. Copy your access token from

More details about all possible config parameters you can read in the documentation.