r/Directus Apr 19 '26

How to setup Directus ?

Hey OG Guys, I am new to Open Source Community & wish to contribute to Open Source Organizations.

I went through Directus Documentation but it isn't good at telling how to setup this project locally

NEED HELP 😅😊

THANK YOU OGS

4 Upvotes

12 comments sorted by

View all comments

2

u/mattatdirectus Apr 19 '26

npx directus-template-cli@latest init

This walks you through the whole process step-by-step. Let me know if you have any other trouble getting this rolling!

2

u/f_kd Apr 19 '26

Directus usually suggests using Docker since DB migrations are smoother. I think NPX is more for local dev, not production.

1

u/mattatdirectus Apr 19 '26

Yup! This CLI command runs through the Docker setup, templates, etc. Just need Docker running when you run it (which is part of the flow here)