Thread overview
zsh: command not found: rdmd
Sep 20, 2021
leikang
Sep 20, 2021
russhy
Sep 21, 2021
leikang
Sep 21, 2021
Tejas
Sep 20, 2021
tastyminerals
September 20, 2021

Enter dmd lk01.d in vscode, the terminal displays zsh: command not found: dmd, an error is reported, I don't know what the problem is, can it only be run in /Users/mac1094/dmd2/osx/bin?

September 20, 2021

On Monday, 20 September 2021 at 11:04:42 UTC, leikang wrote:

>

Enter dmd lk01.d in vscode, the terminal displays zsh: command not found: dmd, an error is reported, I don't know what the problem is, can it only be run in /Users/mac1094/dmd2/osx/bin?

How have you installed dmd?

September 20, 2021

On Monday, 20 September 2021 at 11:04:42 UTC, leikang wrote:

>

Enter dmd lk01.d in vscode, the terminal displays zsh: command not found: dmd, an error is reported, I don't know what the problem is, can it only be run in /Users/mac1094/dmd2/osx/bin?

Keep in mind that if you have M1 machine, you cannot use dmd. Download and use ldc2 compiler for arm64 here. https://github.com/ldc-developers/ldc/releases/download/v1.27.1/ldc2-1.27.1-osx-arm64.tar.xz

September 21, 2021

On Monday, 20 September 2021 at 21:51:32 UTC, russhy wrote:

>

On Monday, 20 September 2021 at 11:04:42 UTC, leikang wrote:

>

Enter dmd lk01.d in vscode, the terminal displays zsh: command not found: dmd, an error is reported, I don't know what the problem is, can it only be run in /Users/mac1094/dmd2/osx/bin?

How have you installed dmd?
I downloaded and installed it on my Mac, installed it under the local disk, and then entered the /Users/mac1094/dmd2/osx/bin directory to enter dmd xxx.d to run

September 21, 2021

On Tuesday, 21 September 2021 at 01:02:30 UTC, leikang wrote:

>

On Monday, 20 September 2021 at 21:51:32 UTC, russhy wrote:

>

On Monday, 20 September 2021 at 11:04:42 UTC, leikang wrote:

>

Enter dmd lk01.d in vscode, the terminal displays zsh: command not found: dmd, an error is reported, I don't know what the problem is, can it only be run in /Users/mac1094/dmd2/osx/bin?

How have you installed dmd?
I downloaded and installed it on my Mac, installed it under the local disk, and then entered the /Users/mac1094/dmd2/osx/bin directory to enter dmd xxx.d to run

Does it work when you go to that /Users/mac1094/dmd2/osx/bin location or write /Users/mac1094/dmd2/osx/bin 1k01.d?

Then you just have to add the location of dmd to your path

How to do that? Idk, I use windows/linux