Install mkcert
masterInstall mkcert based on your operating system using the following methods:
macOS
Using Homebrew:
brew install mkcert
brew install nss # if you use FirefoxOr using MacPorts:
sudo port selfupdate
sudo port install mkcert
sudo port install nss # if you use FirefoxLinux
First, install the required NSS tools:
- Ubuntu/Debian/OpenSUSE/SLES:
sudo apt install libnss3-toolsorsudo zypper install mozilla-nss-tools - Fedora/RHEL/CentOS:
sudo yum install nss-tools - Arch Linux:
sudo pacman -S nss
Then install mkcert via:
- Homebrew on Linux:
brew install mkcert - Arch Linux Repository:
sudo pacman -Syu mkcert - Pre-built binaries: Download from the releases page, make executable, and move to
/usr/local/bin/mkcert. - Build from source: Requires Go 1.13+.
Windows
Using Chocolatey:
choco install mkcertOr using Scoop:
scoop bucket add extras
scoop install mkcertNote: If you encounter permission issues, run your terminal as an Administrator.
brew install mkcert