CLI tool to install FusionCMS
Global Install (recommended):
$ composer global require fusioncms/cli
Local Install (within your project folder):
$ composer require fusioncms/cli
In 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}/.composer
Next, add the following to ~/.zshrc
or ~/.bashrc
(substituting [home]
from above):
$ export PATH=[home]/vendor/bin:$PATH
Update to the latest release:
Global:
$ composer global update fusioncms/cli
Local (within your project folder):
$ composer update fusioncms/cli
Download a fresh copy of FusionCMS (with Laravel).
$ fusion new my-project
This create a new folder
my-project
in the current directory.