CLI tool to install FusionCMS
Global Install (recommended):
$ composer global require fusioncms/cliLocal Install (within your project folder):
$ composer require fusioncms/cliIn order to run the fusion from anywhere you will first need to update your system's $PATH variable.
Find the location of your global composer vendor/bin directory:
$ composer config --list --global | grep -w home
> [home] /Users/{username}/.composerNext, add the following to ~/.zshrc or ~/.bashrc (substituting [home] from above):
$ export PATH=[home]/vendor/bin:$PATHUpdate to the latest release:
Global:
$ composer global update fusioncms/cliLocal (within your project folder):
$ composer update fusioncms/cliDownload a fresh copy of FusionCMS (with Laravel).
$ fusion new my-projectThis create a new folder
my-projectin the current directory.