What’s the command to install or update game server on Linux?

First you'll need to install the steamcmd package with 'sudo apt install steamcmd`

Then you can just run the following command or you can save the command to a .sh file so you can just run that script whenever you need to update.

steamcmd +login anonymous +force_install_dir (SERVER_FILE_PATH) +app_update 996560 +exit