Clone the Grav repository from GitHub to a folder in the webroot of your server, e.g. ~/webroot/grav. Launch a terminal or console and navigate to the webroot folder:
cd ~/webroot
git clone -b master https://github.com/getgrav/grav.git
Install vendor dependencies via composer:
cd ~/webroot/grav
composer install --no-dev -o
Copy Install the plugin and theme dependencies by using the Grav CLI application bin/grav:
cd ~/webroot/grav
bin/grav install
This will automatically clone the required dependencies from GitHub directly into this Grav installation.
cd ~/webroot/grav
cek update version grav
bin/gpm selfupgrade -f
install admin panel
bin/gpm install admin
docs grav https://learn.getgrav.org/16/basics/installation
docs grav admin https://github.com/getgrav/grav-plugin-admin