Back

Install appwrite CLI is not working

  • 0
  • Tools
Pingu
4 Mar, 2025, 18:50

Hey, I depend on installing appwrite CLI for my CICD.

I had one run go through quite recently, but now is failing. my github action failing is:

TypeScript
- name: Install Appwrite CLI
        run: curl -sL https://appwrite.io/cli/install.sh | bash

and the output is:

TypeScript
curl -sL https://appwrite.io/cli/install.sh | bash
  shell: /usr/bin/bash -e {0}
  env:
    AZURE_REGISTRY_NAME: wrevoacr
    AZURE_CONTAINER_APP_NAME: wrevo
    DOTNET_VERSION: 9.0.x


     _                            _ _           ___   __   _____
    /_\  _ __  _ ____      ___ __(_) |_ ___    / __\ / /   \_   \
   //_\\| '_ \| '_ \ \ /\ / / '__| | __/ _ \  / /   / /     / /\/
  /  _  \ |_) | |_) \ V  V /| |  | | ||  __/ / /___/ /___/\/ /_
  \_/ \_/ .__/| .__/ \_/\_/ |_|  |_|\__\___| \____/\____/\____/
        |_|   |_|                                                


๐Ÿ”ฅ Welcome to the Appwrite CLI install shield ๐Ÿ›ก
[1/4] Getting System Info ...

OS : linux 
ARCH : x64 
REQUIRES ROOT : true

[2/4] Downloading executable for linux (x64) ...
๐Ÿšฆ Downloading Appwrite CLI 6.2.1 ... 
โŒ Couldn't find executable for linux (x64). Please contact the Appwrite team  
Error: Process completed with exit code 1.
TL;DR
Developers are facing an issue with installing Appwrite CLI in their CICD. The error states it couldn't find the executable for linux (x64) version 6.2.1. A possible solution is to reach out to the Appwrite team for assistance.
Pingu
4 Mar, 2025, 18:52

For reference, the output for this step that I am used to seeing would be:

TypeScript
curl -sL https://appwrite.io/cli/install.sh | bash
  shell: /usr/bin/bash -e {0}
  env:
    AZURE_REGISTRY_NAME: wrevoacr
    AZURE_CONTAINER_APP_NAME: wrevo
    DOTNET_VERSION: 9.0.x


     _                            _ _           ___   __   _____
    /_\  _ __  _ ____      ___ __(_) |_ ___    / __\ / /   \_   \
   //_\\| '_ \| '_ \ \ /\ / / '__| | __/ _ \  / /   / /     / /\/
  /  _  \ |_) | |_) \ V  V /| |  | | ||  __/ / /___/ /___/\/ /_
  \_/ \_/ .__/| .__/ \_/\_/ |_|  |_|\__\___| \____/\____/\____/
        |_|   |_|                                                


๐Ÿ”ฅ Welcome to the Appwrite CLI install shield ๐Ÿ›ก
[1/4] Getting System Info ...

OS : linux 
ARCH : x64 
REQUIRES ROOT : true

[2/4] Downloading executable for linux (x64) ...
๐Ÿšฆ Downloading Appwrite CLI 6.2.0 ... 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0 59.5M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 80 59.5M   80 48.0M    0     0  33.3M      0  0:00:01  0:00:01 --:--:-- 50.7M
100 59.5M  100 59.5M    0     0  30.6M      0  0:00:01  0:00:01 --:--:-- 41.1M
โœ… Done ... 

[3/4] Installing ...
๐Ÿšง Setting Permissions 
โœ… Done ... 

๐Ÿ“ Copying temporary file to /usr/local/bin/appwrite ... 
โœ… Done ... 

[4/4] Wrapping up installation ... 
๐Ÿงน Cleaning up mess ... 
โœ… Done ... 

๐Ÿš€ To get started with Appwrite CLI, please visit https://appwrite.io/docs/command-line
As first step, you can login to your Appwrite account using 'appwrite login'
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more