1) su - invidious, cd into invidious dir 2) git pull 3) shards install --production 4) CRYSTAL_WORKERS=12 crystal build src/invidious.cr --release --progress --verbose 5) if there are changes to config/config.example.yml diff it with config/config.yml and add new values where necessary. 6) go back to tilserv root user, systemctl restart invidious.