Kite is a tool for help development.
GitHub https://github.com/inhere/kite kite is build on the inhere/php-console
Required:
- git
- php 8.1+
- composer
file: deploy/install.sh
curl https://raw.githubusercontent.com/inhere/kite/master/deploy/install.sh | bash
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
- release page: https://github.com/inhere/kite/releases
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
Display commands:
kite
kite list
Display help:
kite -h
kite --help
kite help
Use builtin command for update tool to latest
kite upself
cd ~/.kite
git pull
chmod a+x bin/kite
php -d phar.readonly=0 bin/kite phar:pack -o kite.phar
rm -f /usr/local/bin/kite
rm -rf ~/.kite
- https://github.com/inhere/php-console
- https://github.com/php-toolkit/cli-utils
- https://github.com/php-toolkit/stdlib
- linux command docs by https://github.com/jaywcjlove/linux-command