Created
March 6, 2024 20:09
-
-
Save gabrielbarros/9d71f642a8a2713d66beb572da6374b3 to your computer and use it in GitHub Desktop.
Install and update mkcert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
echo 'Installing mkcert...' | |
curl -s https://api.github.com/repos/FiloSottile/mkcert/releases/latest | \ | |
jq -r '.assets[].browser_download_url' | grep -F linux-amd64 | wget -i - | |
sudo mv mkcert-* /usr/local/bin/mkcert | |
sudo chmod a+x /usr/local/bin/mkcert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment