# Can't install CLI

**URL:** <https://forum.codecrafters.io/t/cant-install-cli/6138>\
**Category:** Bug Reports\
**Created:** [March 6, 2025, 10:46am UTC](https://forum.codecrafters.io/t/cant-install-cli/6138 "2025-03-06T10:46:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonasZim](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/jonaszim/32/6345_2.png) [@JonasZim](https://forum.codecrafters.io/u/JonasZim)\
**Post date:** [March 6, 2025, 10:46am UTC](https://forum.codecrafters.io/t/cant-install-cli/6138/1 "2025-03-06T10:46:16Z")

</div>

Hello,  
I tried to download the CLI with curl but i get that error everytime. I am on Ubuntu.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/8/876eb1dbbde3a2dc33b1a70956af7bd72f6868be.png)

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [March 6, 2025, 2:14pm UTC](https://forum.codecrafters.io/t/cant-install-cli/6138/2 "2025-03-06T14:14:49Z")

</div>

Hey @JonasZim, could you share details about your system (OS, architecture, and any other relevant info) so we can try reproducing the error on our end?

In the meantime, you might try installing it manually to see if that works for you.

1. Download the script manually: [codecrafters.io/install.sh](https://codecrafters.io/install.sh).

2. Edit the script to print out the DOWNLOAD\_URL by adding the following line:

```bash
DOWNLOAD_URL="https://github.com/codecrafters-io/cli/releases/download/${VERSION}/${VERSION}_${OS}_${ARCH}.tar.gz" 
#Add this line: 
echo "DOWNLOAD_URL: $DOWNLOAD_URL"

```

1. Run the script to print out the DOWNLOAD\_URL.

2. Download the `.tar.gz` file from the printed URL.

3. Extract the CLI binary using:

```bash
tar -xvzf <replace-filename-here>.tar.gz

```

1. Add the extracted binary to your system’s PATH so it can be executed from anywhere.

---

<div class="post-metadata">

**Author:** ![JonasZim](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/jonaszim/32/6345_2.png) [@JonasZim](https://forum.codecrafters.io/u/JonasZim)\
**Post date:** [March 6, 2025, 3:47pm UTC](https://forum.codecrafters.io/t/cant-install-cli/6138/4 "2025-03-06T15:47:41Z")

</div>

@andy1li Thanks for Reply. Installing it manually worked.

I’m using Ubuntu 24.04 (64-bit) with kernel 6.11.0-17-generic.  
I’m relatively new to Linux, so if you need more let me know.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [March 14, 2025, 1:28am UTC](https://forum.codecrafters.io/t/cant-install-cli/6138/6 "2025-03-14T01:28:01Z")

</div>

Closed on March 14, 2025, 1:28am UTC

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