Global and persistent install of npm package?

Is it possible to install npm package globally so that I don’t need to install it in every project? I would like to install simple node server npm i -g serve.

Howdy @marek-baranowski and welcome. Yes, indeed it is possible by creating a custom docker image. See GitHub - gitpod-io/workspace-images: Ready to use docker images for Gitpod workspaces for the source code behind the defaults that we ship. Depending on your needs workspace-full is likely the image you want but if you want the most barebone one possible then use workspace-images/base at master · gitpod-io/workspace-images · GitHub