Pardon the newbie here, but I find myself stymied at step one.
Attempting to install/setup Particle CLI for the first time on iMac running macOS Ventura 13.7.6.
When running the suggested Terminal command:
bash <( curl -sL https://particle.io/install-cli )
I receive the following response:
PARTICLE CLI SETUP...
:::: Installing the Particle CLI for darwin x64
:::: Downloading CLI version
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
gunzip: (stdin): unexpected end of file
:::: The Particle CLI has been installed to: "/Users/(myusername)/bin/particle" and this directory
:::: has been added to your $PATH
blah, blah, Close Terminal, etc….
Although the last statement indicates Particle CLI has been installed it hasn’t - and any/all subsequently used ‘particle’ commands result in no response - simply a new line feed to new prompt.
I appreciate any insight(s) or suggestions as to how I might get passed this.
Thanks in advance! Cheers.
Hey Kahntagious
The script failed to download the JSON configuration file as far as I can tell, which caused the rest of the install to silently break.
To help debug this, can you try running the following commands and share the output:
# Check if the manifest can be fetched
curl -s https://binaries.particle.io/particle-cli/manifest.json | head -n 20
# Print your system architecture
uname -m
# Print your OS type
uname -s
# Print your shell PATH (in case ~/bin isn't active)
echo $PATH
# Check your curl version
curl --version
# Optional: test if jq is installed for JSON inspection
command -v jq
Let me know what you get - happy to help get it sorted with a little more info!
(also trying it again after a ‘rest’ is also something I hate to suggest, but did anyway…
)
Thanks you for jumping in on this, @mrlambchop !
Please find the relevant responses below:
% curl -s https://binaries.particle.io/particle-cli/manifest.json | head -n 20
{
"released_at": "2025-08-01T14:40:00.569Z",
"version": "3.40.1",
"channel": "main",
"builds": {
"linux": {
"arm64": {
"url": "https://binaries.particle.io/particle-cli/3.40.1/linux/arm64/particle.gz",
"sha256": "725b2b2b90df0f6ecbfe9ce5af48037684ea3ca796982654da309f1bd70595fc"
},
"arm": {
"url": "https://binaries.particle.io/particle-cli/3.40.1/linux/arm/particle.gz",
"sha256": "1083dd939c76581efb6befbd815231d15d206dc4ea8653a8fed087b523640521"
},
"x64": {
"url": "https://binaries.particle.io/particle-cli/3.40.1/linux/x64/particle.gz",
"sha256": "745b9b47a8ff09adb92eee0f6d9925cecd907d0cca49808eabc60d7108941974"
}
},
"darwin": {
% uname -m
x86_64
% uname -s
Darwin
% echo $PATH
/usr/local/opt/curl/bin:/Users/(myusername)/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/bin:/usr/local/mysql/bin
% curl --version
curl 8.8.0 (x86_64-apple-darwin22.6.0) libcurl/8.8.0 (SecureTransport) OpenSSL/3.5.1 zlib/1.2.11 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libssh2/1.11.0 nghttp2/1.61.0 librtmp/2.3 OpenLDAP/2.6.8
Release-Date: 2024-05-22
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
% command -v jq
(returned nothing)
After a ‘rest’… the latest update from this morning’s effort.
Updated CURL version to latest as it appeared to be outdated. Ran same install command for Particle CLI and received same response:
% curl --version
curl 8.15.0 (x86_64-apple-darwin22.6.0) libcurl/8.15.0 OpenSSL/3.5.1 zlib/1.2.11 brotli/1.1.0 zstd/1.5.7 AppleIDN libssh2/1.11.1 nghttp2/1.66.0 ngtcp2/1.14.0 nghttp3/1.11.0 librtmp/2.3
Release-Date: 2025-07-16
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
% bash <( curl -sL https://particle.io/install-cli )
PARTICLE CLI SETUP...
:::: Installing the Particle CLI for darwin x64
:::: Downloading CLI version
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
gunzip: (stdin): unexpected end of file
:::: The Particle CLI has been installed to: "/Users/(myusername)/bin/particle" and this directory
:::: has been added to your $PATH
************************************************************************
** YOU MUST CLOSE AND REOPEN YOUR TERMINAL BEFORE CHANGES TAKE EFFECT **
************************************************************************