Skip to content

I can't use DDEV in Windows PowerShell after installing it in WSL2 #6793

Answered by rfay
wcndave asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @wcndave -

When you install DDEV with docker-ce (glad you did that) you will use DDEV inside the WSL2 distro (typically Ubuntu). You won't be using it in PowerShell.

Please go back and read the Important considerations for DDEV and WSL2

Execute DDEV commands inside WSL2.
You’ll want to run DDEV commands inside Ubuntu, for example, and never on the Windows side in PowerShell or Git Bash.

Projects should live under the home directory of the Linux filesystem.
WSL2’s Linux filesystem (e.g. /home/<your_username>) is much faster and has proper permissions, so keep your projects there and not in the slower Windows filesystem (/mnt/c).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@wcndave
Comment options

@wcndave
Comment options

@rfay
Comment options

@wcndave
Comment options

Answer selected by rfay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants