Skip to content

timrspratt/cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statamic CLI Tool

Install and manage your Statamic projects from the command line.

Installing the package

composer global require statamic/cli

Make sure to place the $HOME/.composer/vendor/bin directory (or the equivalent directory for your OS) in your $PATH so that the statamic executable can be located by your system.

Once installed, you should be able to run statamic {command name} from within any directory.

Checking Statamic Versions

From within an existing Statamic project root directory, you may run the following command to quickly find out which version is being used.

statamic version

Installing Statamic

You may create a new Statamic site with the new command:

statamic new my-site

This will download the latest version and install it into the my-site directory.

Updating Statamic

From within an existing Statamic project root directory, you may use the following command to update to the latest version.

statamic update

This is just syntactic sugar for the php please update command, available from 2.6 onwards.

About

Install and manage your Statamic projects from the command line.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%