Does the router has Internet?

Do you have a pc that you can ssh to the router and try install using command?