zsh: command not found: rdmd

Tejas notrealemail at gmail.com
Tue Sep 21 05:47:48 UTC 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


More information about the Digitalmars-d-learn mailing list