Home Install PNPM on Alpine Linux 3.17
Post
Cancel

Install PNPM on Alpine Linux 3.17

Introduction:

PNPM is often times used alongside NPM when building a project. Then typical way to install PNPM would be to add it via apk. However it does not seem there is a working package that has been added for Alpine 3.17. However, you can manually install it. These steps are assume you are using Alpine 3.17 on a Proxmox LXC container.

Installation

1) First you will need to install Curl.

1
apk add curl 

2) After that you can run the provided PNPM installer script

1
curl -L https://unpkg.com/@pnpm/self-installer | node

3) Check that it has been installed

1
pnpm --version

Sources:

Thanks for reading!

Written By: Max Kulik

This post is licensed under CC BY 4.0 by the author.