Sorry for the late reply. The dsscli on macOS is usually located here if you used the .dmg installer:
The dsscli file you have tried is from the installer, not the application. That is why I did not work.
You can use this command line interface as you tried: ./bin/dsscli user-edit --password NEW_PASSWORD LOGIN