Daml command not found

Im looking to install, up to echo $JAVA_HOME seems all fine until I went to type in daml version. I am on Mac Pro M1. Getting the error zsh: command not found: daml

Hi @jjl,

Sorry to hear you’re having trouble!

Can you walk me through the exact set of steps you have performed to install Daml?

I followed what is in the documentation .
curl -sSL https://get.daml.com/ | sh
daml command didn’t work so i did the env setup.

echo $SHELL returns zsh
ran this individually
echo 'export JAVA_HOME="$(/usr/libexec/java_home)"' >> ~/.zprofile
echo 'export PATH="$HOME/.daml/bin:$PATH"' >> ~/.zprofile
echo $JAVA_HOME
returns /Users/myname/Library/Java/JavaVirtualMachines/semeru-18.0.2/Contents/Home
daml version
returns zsh: command not found: daml

edit: I also rebooted the computer.

Can you share the result of ls ~/.daml please?

bash_completions.sh daml-config.yaml zsh
bin sdk

ok i was able to solve by following this response

Thank you for your help.

1 Like