Kirby cli when installing kirby download failed

I try to install kirby with the cli but get the following error:

  Download failed:  
install [-k|--kit [KIT]] [--dev] [--] [<path>]

please help.

Just tried it myself, with no issues. Is your system up to date? I guess theres no issue with your internet because you managed to post on the forum.

When I try to download: direct in the browser no problem.

Strange. Have you tried reinstalling the cli? I just installed it to see if i got an error too. I never had it installed before. It worked first go. It did prompt me that i needed at least php 7.1 when installed the CLI. Once i did that, installing the CLI worked.

Have you tried multiple times?

@texnixe yes
@jimbobrjames php -v
PHP 7.1.17-0ubuntu0.17.10.1 (cli) (built: May 9 2018 17:28:01) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.1.17-0ubuntu0.17.10.1, Copyright © 1999-2018, by Zend Technologies

what do u get with:

composer global show

I have CLI version 1.6.0 installed.

getkirby/cli              1.6.0  Kirby CLI
psr/log                   1.0.2  Common interface for logging libraries
symfony/console           v3.2.2 Symfony Console Component
symfony/debug             v3.2.2 Symfony Debug Component
symfony/polyfill-mbstring v1.3.0 Symfony polyfill for the Mbstring extension

Hmmm. Im running out of ideas. All i can suggest is uninstalling the CLI, quitting terminal, and reinstalling it again, and making sure composer is up to date Im on a mac and it works fine. I noticed your on Ubuntu. Perhaps do a full system update and reboot.

hmh does not work, unfortunately I have to do without cli

thank you for your answer

Do you use the CLI for anything else? If your only using it to install when you start project, you could make an alias in bash to grab it via Git. At least saves you some typing (you can also do this on a Mac).

Another way would be to add it to your NPM scripts if you happen to be using NPM for stuff.

I use the cli to update kirby and install plugins.