CLI tool to install FusionCMS

v3.0.2 2021-02-18 20:15 UTC

This package is auto-updated.

Last update: 2024-12-06 18:59:13 UTC


README

CLI tool to install FusionCMS

Install

Global Install (recommended):

$ composer global require fusioncms/cli

Local Install (within your project folder):

$ composer require fusioncms/cli

Global Usage

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

Update to the latest release:

Global:

$ composer global update fusioncms/cli

Local (within your project folder):

$ composer update fusioncms/cli

Usage

Download a fresh copy of FusionCMS (with Laravel).

$ fusion new my-project

This create a new folder my-project in the current directory.