Title: sudo wp-env run cli wp plugin activate &#8211;all
Last modified: July 2, 2021

---

# sudo wp-env run cli wp plugin activate –all

 *  [Dara](https://wordpress.org/support/users/dbee78/)
 * (@dbee78)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/sudo-wp-env-run-cli-wp-plugin-activate-all/)
 * 1. Is this a bug in wp-env or what?
 * I can install my plugins one by one no problem …
 * `sudo wp-env run cli wp plugin activate wordfence`
 * but when I try to install them all at once, I get …
 *     ```
       dara@laptop-20-04:~/git_repos/haha_git$ sudo wp-env run cli wp plugin activate --all
       ✖ Error while running docker-compose command.
       Starting b2f15ad89490c7f9c6ca60886237ef_mysql_1 ... done
       Starting b2f15ad89490c7f9c6c780886237ef_wordpress_1 ... done
       Error: Please specify one or more plugins, or use --all.
       ```
   
 *     ```
       dara@laptop-20-04:~/git_repos/haha_git$ wp-env --version
       1.4.0
       ```
   
 * 2. Also, what’s the best way to change permissions on wp-env or my WordPress 
   git repo on local that won’t break when I push to git host?
 * 3. Also, in terms of pushing to git host. I guess I should probably add my wp-
   config file to .gitignore yes?
    -  This topic was modified 4 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [Dara](https://wordpress.org/support/users/dbee78/)
 * (@dbee78)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/sudo-wp-env-run-cli-wp-plugin-activate-all/#post-14618220)
 * the docker container can’t seem to connect to the database. I’ve tested my connection
   strings from the cli and they are fine.
 * I’ve also set user host to ‘%’ in MySQL.
 * I can see my website fine. and I can see my theme. but I can’t see any nav bar
   links or any blogs.
 * Plus only my homepage shows. I can’t navigate to localhost:8888/contact-us/ or
   any other page… :0=-(

Viewing 1 replies (of 1 total)

The topic ‘sudo wp-env run cli wp plugin activate –all’ is closed to new replies.

## Tags

 * [git](https://wordpress.org/support/topic-tag/git/)
 * [wp-env](https://wordpress.org/support/topic-tag/wp-env/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Dara](https://wordpress.org/support/users/dbee78/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/sudo-wp-env-run-cli-wp-plugin-activate-all/#post-14618220)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
