you can check if you have sql installed with sqlcmd -S localhost -Q "SELECT @@VERSION"
and after that you should check if it's running like the picture above.
It might be a UI problem, I typed localhost
in the server name and now I'm connected.
¯\_(ツ)_/¯