Installing GStatic Cli on Linux

Installing NodeJs on your PC

If you already have NodeJS installed on your system, skip this segement.

Step 1

Run the following command in your terminal, you need root permission to do this task

    curl -sL | sudo -E bash -
    sudo apt-get install -y nodejs

Installing Gstatic Cli

Step 1

Run the following command in terminal to install gstatic-cli globally on your system

    npm i -g yu-gstatic

If you don’t want to install it globally and just for a specific project, run the following command inside that project directory

    npm i yu-gstatic

and you can access gstatic cli with

    npx gstatic some_command