# What's the preferred way of installing Mautic 6 now, without having NPM in place?

**URL:** <https://forum.mautic.org/t/whats-the-preferred-way-of-installing-mautic-6-now-without-having-npm-in-place/35615>\
**Category:** Mautic 6 Install/Upgrade Support\
**Created:** [May 4, 2025, 1:12pm UTC](https://forum.mautic.org/t/whats-the-preferred-way-of-installing-mautic-6-now-without-having-npm-in-place/35615 "2025-05-04T13:12:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris76](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris76/32/522_2.png) [@Chris76](https://forum.mautic.org/u/Chris76)\
**Post date:** [May 4, 2025, 1:12pm UTC](https://forum.mautic.org/t/whats-the-preferred-way-of-installing-mautic-6-now-without-having-npm-in-place/35615/1 "2025-05-04T13:12:08Z")

</div>

Hi,

is it possible to install Mautic 6 now without NPM / Node or similar in place?

And if not, I’d have to wait for the docker that might be released in a few weeks?

---

<div class="post-metadata">

**Author:** ![larsmattia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/larsmattia/32/13016_2.png) [@larsmattia](https://forum.mautic.org/u/larsmattia)\
**Post date:** [May 6, 2025, 7:04pm UTC](https://forum.mautic.org/t/whats-the-preferred-way-of-installing-mautic-6-now-without-having-npm-in-place/35615/2 "2025-05-06T19:04:45Z")

</div>

To workaround the missing npm/node on my webhosting i’m using the mautic image that provides me the PHP/node deps to run “composer update --with-dependencies” and then I use rsync to move files to my webhosting.

I use Fedora. Probably should work with docker (s/podman/docker/) too.

```auto
# build the "mautic builder image"
# Dockerfile/Containerfile https://gist.github.com/vinzent/747f6fde8b778863f7da6e22e55a130d
cd $dirThatContainsContainerfile
podman build -t mautic-builder .

# run the image with local mautic dir mounted
cd $localMauticDirThatContainsComposerJson
podman run --rm -ti --entrypoint /bin/bash --security-opt label=disable \
  --mount type=bind,source=$(pwd),destination=/mautic \
  --workdir=/mautic mautic-builder

php bin/console cache:clear
composer update --with-dependencies

```

Sync:

```auto
rsync \
  -ruv \
  --links \
  --checksum \
  --perms \
  --exclude /config/ \
  --exclude /.git/ --exclude /var/ --exclude /docroot/translations/ \
  --exclude /docroot/media/images/ \
  --exclude /docroot/media/libraries/ckeditor/translations/ \
  ./ $webHostingServer@$pathToMautic \
  --delete --dry-run

```

Then commands from step 7 on the webhosting: [How to update Mautic — Mautic Documentation 0.1 documentation](https://docs.mautic.org/en/5.x/getting_started/how_to_update_mautic.html#updating-mautic-composer-based-installs) (I need to add “–no-warmup” to “cache:clear”).
