Commands
This is a list of all the commands available in FNPM.
Install
With this command you can install a package from the registry.
# fnpm install <package> [flags]
fnpm install react react-dom -P
Parameters
package- The package you want to install-D- Install as a development dependency-P- Install as a peer dependency-O- Install as an optional dependencyempy- Install depenencies from thepackage.jsonfile
Run
With this command you can run a script from the package.json file.
# fnpm run <script> [options]
fnpm run dev
Options
All the options are passed to the script you are running.
Create
With this command you can create a project from a template.
# fnpm create <template> [options]
fnpm create next-app
Options
Options are passed to the template script.