# Unable to install CLI - SSL cert problem

**URL:** <https://community.particle.io/t/unable-to-install-cli-ssl-cert-problem/67145>\
**Category:** Particle Workbench\
**Created:** [July 5, 2024, 12:19am UTC](https://community.particle.io/t/unable-to-install-cli-ssl-cert-problem/67145 "2024-07-05T00:19:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JSchrempp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jschrempp/32/6396_2.png) [@JSchrempp](https://community.particle.io/u/JSchrempp)\
**Post date:** [July 5, 2024, 12:19am UTC](https://community.particle.io/t/unable-to-install-cli-ssl-cert-problem/67145/1 "2024-07-05T00:19:09Z")

</div>

My VSCode started complaining about the CLI not being executable. When I run Particle from the command line I get a segmentation fault. I thought to try a new install of the CLI as directed on this page:

> **[Command Line | Getting Started](https://docs.particle.io/getting-started/developer-tools/cli/)**
>
> Command line interface for managing your Particle devices for Windows, Mac OS, and Linux

However, when I run the command line to install the CLI it fails silently.

Removing the "s" from the CURL options I get:

`bash <( curl -L https://particle.io/install-cli )`

curl: (60) SSL certificate problem: unable to get local issuer certificate

I'm running OSX 14.5

Previous articles suggested corporate firewall issues but I'm on a home network.

---

<div class="post-metadata">

**Author:** ![JSchrempp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jschrempp/32/6396_2.png) [@JSchrempp](https://community.particle.io/u/JSchrempp)\
**Post date:** [July 6, 2024, 5:33pm UTC](https://community.particle.io/t/unable-to-install-cli-ssl-cert-problem/67145/2 "2024-07-06T17:33:25Z")

</div>

I overcame this problem by adding k to the CURL options. However, that is less secure. Would Particle provide the hash for the CLI so we can verify that we got the right stuff?

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [July 7, 2024, 11:57am UTC](https://community.particle.io/t/unable-to-install-cli-ssl-cert-problem/67145/3 "2024-07-07T11:57:12Z")

</div>

There is something odd with the certificate chain on your computer, but it's not clear what. In any case:

```sh
% curl -L https://particle.io/install-cli > install.bash
% shasum -a 256 install.bash 
c1b677286352dc83906afeddb2a2ecaa13ac675cf52bb97d01fdb914d9bf8c73 install.bash

```

---

<div class="post-metadata">

**Author:** ![JSchrempp](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jschrempp/32/6396_2.png) [@JSchrempp](https://community.particle.io/u/JSchrempp)\
**Post date:** [July 7, 2024, 2:24pm UTC](https://community.particle.io/t/unable-to-install-cli-ssl-cert-problem/67145/4 "2024-07-07T14:24:33Z")

</div>

I had to add the -k option to the curl command. Then it worked and I get the same hash.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/4/64635adccc35238caa19e9b553ec3e98b163d026.png) [@system](https://community.particle.io/u/system)\
**Post date:** [August 7, 2024, 12:25am UTC](https://community.particle.io/t/unable-to-install-cli-ssl-cert-problem/67145/5 "2024-08-07T00:25:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
