I have composer installed on my system. I tried to run
composer create-project --prefer-dist laravel/laravel projectName
And I got an error saying
Failed to download laravel/laravel from dist: The "https://api.github.com/repos/laravel/laravel/zipball/3f92cf66f53b3b53467497acc0d2a00cbd7b65f0" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known failed to open stream: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known Now trying to download from source
` [RuntimeException] Failed to clone https://github.com/laravel/laravel.git via https, ssh protocols, aborting.
[email protected]:laravel/laravel.git Cloning into 'kiaTech'... ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists`