diff --git a/install/homarr-install.sh b/install/homarr-install.sh index 18d37290..38966a3f 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -28,18 +28,16 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list msg_ok "Set up Node.js Repository" -msg_info "Installing Node.js" +msg_info "Installing Node.js/Yarn" $STD apt-get update $STD apt-get install -y nodejs -$STD npm install next -$STD npm instal react -$STD npm instal react-dom -msg_ok "Installed Node.js" - -msg_info "Installing Yarn" +npm install -g npm@latest $STD npm install -g yarn $STD yarn global add prisma -msg_ok "Installed Yarn" +npm install next +$STD npm instal react +$STD npm instal react-dom +msg_ok "Installed Node.js/Yarn" msg_info "Installing Homarr (Patience)" git clone -q https://github.com/ajnart/homarr.git /opt/homarr