[GH-ISSUE #525] Linux brew command is wrong in documentation #315

Open
opened 2026-02-25 22:33:05 +03:00 by kerem · 2 comments
Owner

Originally created by @aashi-ihsaa on GitHub (May 28, 2023).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/525

Environment

  • Operating system (including version): UBUNTU
  • mkcert version (from mkcert -version):
  • Server (where the certificate is loaded):
  • Client (e.g. browser, CLI tool, or script):

What you did

I was intsalling mckert on ubuntu and used the command brew install mkcert

What went wrong

aashi@Syzama:~/glific$ brew install mkcert
Command 'brew' not found, did you mean:
command 'brec' from deb bplay (0.991-10build1)
command 'qbrew' from deb qbrew (0.4.1-8build1)
Try: sudo apt install

need to change this in documentation as this command does not work in ubuntu. instead The brew command is specific to macOS and is not available on Linux systems. In the case of Ubuntu or other Debian-based distributions, you can use the apt package manager to install mkcert. Here's the command you can use:
sudo apt update sudo apt install mkcert

Originally created by @aashi-ihsaa on GitHub (May 28, 2023). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/525 ## Environment * Operating system (including version): UBUNTU * mkcert version (from `mkcert -version`): * Server (where the certificate is loaded): * Client (e.g. browser, CLI tool, or script): ## What you did I was intsalling mckert on ubuntu and used the command brew install mkcert ## What went wrong aashi@Syzama:~/glific$ brew install mkcert Command 'brew' not found, did you mean: command 'brec' from deb bplay (0.991-10build1) command 'qbrew' from deb qbrew (0.4.1-8build1) Try: sudo apt install <deb name> need to change this in documentation as this command does not work in ubuntu. instead The brew command is specific to macOS and is not available on Linux systems. In the case of Ubuntu or other Debian-based distributions, you can use the apt package manager to install mkcert. Here's the command you can use: `sudo apt update sudo apt install mkcert `
Author
Owner

@jmooring commented on GitHub (Jun 2, 2023):

The brew command is specific to macOS and is not available on Linux systems

This is false. See https://brew.sh/

image

<!-- gh-comment-id:1574028941 --> @jmooring commented on GitHub (Jun 2, 2023): > The brew command is specific to macOS and is not available on Linux systems This is false. See <https://brew.sh/> ![image](https://github.com/FiloSottile/mkcert/assets/335669/5df10f00-82bb-4e9c-8d6e-6546354130a3)
Author
Owner

@gitressa commented on GitHub (Oct 4, 2025):

Won't the standard method work in Debian systems?

sudo apt install libnss3-tools mkcert

... since it seems to install version 1.4.4 why not just list that for apt systems (Debian, Ubuntu) under https://github.com/FiloSottile/mkcert?tab=readme-ov-file#linux?

Also, is libnss3-tools required?

<!-- gh-comment-id:3368389331 --> @gitressa commented on GitHub (Oct 4, 2025): Won't the standard method work in Debian systems? `sudo apt install libnss3-tools mkcert` ... since it seems to install version 1.4.4 why not just list that for `apt` systems (Debian, Ubuntu) under https://github.com/FiloSottile/mkcert?tab=readme-ov-file#linux? Also, is `libnss3-tools` required?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#315
No description provided.