Downloads the Static Kit library into a specified directory, which contains a normalized system for the creation, compilation, and optimization of static assets for a website. Optionally, this command will initialize the new installation.
Options
–dir=<directory>
The directory to install Static Kit (relative to the current directory). Defaults to the current directory.
–init
Initialize Static Kit after installing. Runs npm install
, along with various other initialization scripts.
Examples
# Install Static Kit into the current directory $ static install Static SUCCESS: Static Kit was installed! # Install Static Kit into a different directory, named "example" $ static install --dir=example Static SUCCESS: Static Kit was installed! # Install and initialize Static Kit $ static install --init Static SUCCESS: Static Kit was installed! Static SUCCESS: Static Kit was initialized!