Skip to main content

Installation

Foscia is composed of multiple packages for different purposes (see available packages).

Best way to install Foscia is to install the CLI, and let it install the additional dependencies.

npm install -D @foscia/cli

Once @foscia/cli is installed, you can run the init command with the directory where you want to store your Foscia related files (models, action, etc.).

npx foscia init

Manual

If you don't want to install @foscia/cli, you can manually install the set of package you will need depending on your usage.

npm install @foscia/core @foscia/http @foscia/jsonapi