Skip to content

Latest commit

 

History

History
126 lines (85 loc) · 2.25 KB

README.en.md

File metadata and controls

126 lines (85 loc) · 2.25 KB

Kite

License Php Version zh-CN readme GitHub tag (latest SemVer) Actions Status

Kite is a tool for help development.

GitHub https://github.com/inhere/kite kite is build on the inhere/php-console

kite-commands

Install

Required:

  • git
  • php 8.1+
  • composer

Install by script

file: deploy/install.sh

curl https://raw.githubusercontent.com/inhere/kite/master/deploy/install.sh | bash

Manual clone

cd ~
git clone https://github.com/inhere/kite .kite
cd .kite
composer install
chmod a+x bin/kite
ln -s $PWD/bin/kite /usr/local/bin/kite

Download phar

eg:

wget -c https://github.com/inhere/kite/releases/download/v2.0.0/kite.phar

Always use latest:

wget -c https://github.com/inhere/kite/releases/latest/download/kite.phar

Rename and move to the environment directory:

mv kite.phar /usr/local/bin/kite
chmod a+x /usr/local/bin/kite

Usage

How to use

Display commands:

kite
kite list

Display help:

kite -h
kite --help
kite help

Update

Builtin command

Use builtin command for update tool to latest

kite upself

Manual update

cd ~/.kite
git pull
chmod a+x bin/kite

Build Phar

php -d phar.readonly=0 bin/kite phar:pack -o kite.phar

Uninstall

rm -f /usr/local/bin/kite
rm -rf ~/.kite

Dep Packages

Thanks