Having issues installing on macOS

Hey all,

Brand new user to nextstrain and pretty knew to CLI and informatics in general. I’m trying to follow the guidelines to installing Nextstrain to my macOS and when I run the first suggested line:

curl -fsSL --proto ‘=https’ https://nextstrain.org/cli/installer/mac | bash

I’m running into this error:

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: curl - SSL CA Certificates

curl performs SSL certificate verification by default, using a “bundle”
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn’t adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you’d like to turn off curl’

Any suggestions on how to navigate this? Any help would be much appreciated.


Hi @ARsignal11, welcome! Sorry to hear that you’re running into an issue right off the bat. This error suggests a system configuration issue on your computer that’s preventing a secure connection to nextstrain.org. We’ll try to troubleshoot it for you.

Gathering some more information is the first step. Can you run the following two commands and then upload the debug.txt file they produce?

curl --version &>> debug.txt
curl --verbose --head https://nextstrain.org &>> debug.txt