Help with HACS - YAML configuration is deprecated

Also try,

From this thread:
https://www.reddit.com/r/homeassistant/comments/munj6h/cant_install_hacs_in_homeassistant_in_docker_on/

on : homeassistant/config/custom_components/hacs $
sudo wget https://github.com/hacs/integration/releases/latest/download/hacs.zip
unzip hacs.zip

Then i can install hacs from GUI, but , i get this error:

adding these in configuration.yaml and restarting

hacs:
  token: # Agregado por mi HACS 
hacs:
  token: ****.****

And work but i get these error:

HACS still deprecated
There is another way to install HACS ?