# Activate module from command line

**URL:** https://discuss.tryton.org/t/activate-module-from-command-line/4053
**Category:** Developer
**Created:** [April 13, 2021, 2:16pm UTC](https://discuss.tryton.org/t/activate-module-from-command-line/4053 "2021-04-13T14:16:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![andileni](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/andileni/32/1401_2.png) [@andileni](https://discuss.tryton.org/u/andileni)
#### Post date: [April 13, 2021, 2:16pm UTC](https://discuss.tryton.org/t/activate-module-from-command-line/4053/1 "2021-04-13T14:16:02Z")

</div>

Hello,

I am deploying gnuhealth from an automatic setup.  
For user convenience, I also installed the ldap module.

I noticed that I have to manually activate the ldap module in the gui before it is ready to use.  
Is it possible to do this activation via command line?

Kind regards  
Andreas

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 13, 2021, 3:05pm UTC](https://discuss.tryton.org/t/activate-module-from-command-line/4053/2 "2021-04-13T15:05:45Z")

</div>

You can use the `trytond-admin` command with the option `-u <module> --activate-dependencies`.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [May 13, 2021, 3:05pm UTC](https://discuss.tryton.org/t/activate-module-from-command-line/4053/3 "2021-05-13T15:05:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
