I had trouble with the proposed answer by @Batatinha. Hence tried Gitbash. Below command worked without any issues.
CYPRESS_INSTALL_BINARY=0 npm install cypress DEBUG=cypress:cli* CYPRESS_INSTALL_BINARY=~/Downloads/cypress.zip npx cypress install