-bash: hass: command not found

Hello, when I run
hass --script check_config

I receive the following error:

-bash: hass: command not found

Can you help?
Thank you.

Depending on the installation method you performed you need to activate the venv or use the full path to hass.

Thank you for your reply. I used Raspberry Pi All-in-One instructions.

I tried to run full path, but:

pi@Home-Assistant:~ $ /srv/homeassistant/homeassistant_venv/bin/hass --script check_config
Config does not exist: /home/pi/.homeassistant/configuration.yaml

And this is correct, Configuration file exists in /home/homeassistant/.homeassistant folder.