Question : How to install npm in alpine linux
Answered by : upset-unicorn-hjzjqghdln79
apk add --update nodejs npm
apk add --update npm
For Dockerfile runing image FROM php:7.4-fpm-alpine
add:
RUN apk add --update nodejs npm
RUN apk add --update npm
Source : https://superuser.com/questions/1125969/how-to-install-npm-in-alpine-linux | Last Update : Sat, 21 Aug 21