Mkapp: command not found

I get the below error

sasurend@sagar-ubuntu-desktop:~/legato_framework/legato/apps/sample/helloWorld$ mkapp -t wp76xx helloWorld.adef

mkapp: command not found

I tried running bin/legs. but that did not solve the problem as well.

you need to run mkapp inside “leaf shell” …