cli
cli copied to clipboard
Cannot install using shell
When I tried to install Ferret Cli using shell, it throws error:
sh: 7: fn_echo: not found
Installing MontFerret v1.10.0...
mktemp: too few X's in template ‘MontFerret.cli’
mkdir: cannot create directory ‘/[email protected]’: Permission denied
Can't create temp directory. Exiting...
Hey, I've just updated the script. Could you try again?
I tried again. I think it almost fixed. There is still a small issue:
curl https://raw.githubusercontent.com/MontFerret/cli/master/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5140 100 5140 0 0 25829 0 --:--:-- --:--:-- --:--:-- 25829
sh: 59: [[: not found
Installing MontFerret cli v1.11.0...
Downloading package https://github.com/MontFerret/cli/releases/download/v1.11.0/cli_linux_x86_64.tar.gz as /tmp/MontFerret.cli.oOVwGnU/[email protected]/cli_linux_x86_64.tar.gz
Copying /tmp/MontFerret.cli.oOVwGnU/[email protected]/ferret to /home/ha/.ferret
sh: 110: [[: not found
Updating profile /home/ha/.bashrc
New version of MontFerret Cli installed to /home/ha/.ferret
Version:
Self: 1.11.0
Runtime: 0.18.0
Hmmm. Interesting. It's definitely working on Mac, hah! How about now?
sorry I couldn't test until now. I am using Ubuntu 20.04: Here is there result:
Installing MontFerret cli v1.11.0...
Downloading package https://github.com/MontFerret/cli/releases/download/v1.11.0/cli_linux_x86_64.tar.gz as /tmp/MontFerret.cli.jNZYzdV/[email protected]/cli_linux_x86_64.tar.gz
Copying /tmp/MontFerret.cli.jNZYzdV/[email protected]/ferret to /home/ha/.ferret
sh: 116: [[: not found
Updating profile /home/ha/.bashrc
New version of MontFerret Cli installed to /home/ha/.ferret
Version:
Self: 1.11.0
Runtime: 0.18.0
It seems line 116 still got some syntax errors