Shopify help command error

Topic summary

Users are encountering a “self-signed certificate in certificate chain” error when attempting to install Shopify CLI via npm after installing Ruby.

Current Status:

  • Multiple users report the identical issue
  • No solutions have been provided yet
  • The discussion remains unresolved and ongoing

Technical Context:

  • Error occurs during: npm install -g @shopify/cli
  • The SSL/TLS certificate validation is failing during the installation process
  • An image screenshot has been shared showing the error details

Likely Causes:

  • Corporate proxy or firewall intercepting HTTPS traffic
  • Network security software injecting certificates
  • npm configuration not trusting certain certificate authorities

Users are seeking guidance on how to bypass or properly configure certificate handling for successful Shopify CLI installation.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

Hi,

I am trying to install shopify cli but after installing ruby and running**npm install -g @Shopify_77 /cli,**i get the error below. How do i resolve it please?

Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1659:34)
at TLSSocket.emit (node:events:514:28)
at TLSSocket.emit (node:domain:488:12)
at TLSSocket._finishInit (node:_tls_wrap:1070:8)
at ssl.onhandshakedone (node:_tls_wrap:856:12)

Hi David,

Have you managed to solve it?. I have the same problem.

Thx !

Hello, I have the same issue. Any solutions for this?