title: Fusion Framework CLI
description: >
Fusion Framework CLI is a powerful tool for developing, building, and publishing applications and portal templates within the Fusion Framework ecosystem. See the documentation for full guides, configuration, and advanced usage.
tags:
- fusion-framework
- cli
- app-development
- portal-development
- dev-server
- ci-cd
- authentication
- configuration
- manifest
- registry
- publishing
- service-discovery
- equinor
- documentation
- getting-started
keywords:
- fusion framework
- cli
- app development
- portal development
- dev server
- authentication
- ci/cd
- configuration
- manifest
- publishing
- registry
- service discovery
Fusion Framework CLI

Table of Contents
Overview
Fusion Framework CLI is a command-line tool for developing, building, and publishing applications and portal templates within the Fusion Framework ecosystem. It streamlines workflows, automates common tasks, and supports modern CI/CD pipelines.
Features & Benefits
- Unified developer experience: One tool for development, build, and deployment.
- Rapid local development: Hot reload and fast feedback.
- Environment-specific configuration: Manage manifests and configs per environment.
- Integrated authentication: Secure your apps locally and in CI/CD pipelines.
- Service discovery: Built-in support for Fusion services.
- Extensible architecture: Widgets, portals, and more coming soon.
- Comprehensive documentation: Migration guides, app/portal setup, and troubleshooting.
Getting Started
1. Install the CLI
pnpm add -D @equinor/fusion-framework-cli
2. Initialize or update your app's manifest and config files
See Developing Apps for manual setup and configuration guidance.
3. Start the development server
pnpm fusion-framework-cli dev
4. Log in to the Fusion Framework (if needed)
pnpm fusion-framework-cli auth login
5. Build and publish your app
pnpm fusion-framework-cli publish --env <environment>
6. Upload configuration
pnpm fusion-framework-cli app config --upload --env <environment>
Tip: For CI/CD and automation, set the FUSION_TOKEN
environment variable. See Authentication for details.
Common Commands
pnpm fusion-framework-cli dev | Start local development server |
pnpm fusion-framework-cli auth login | Authenticate with Fusion |
pnpm fusion-framework-cli app ... | Working with Fusion applications |
pnpm fusion-framework-cli portal ... | Working with Fusion portal templates |
Example: package.json
A minimal example for a Fusion Framework app:
{
"name": "@equinor/fusion-framework-app",
"version": "0.0.0",
"description": "Fusion Framework App",
"main": "dist/index.js",
"files": [
"path-to-some-file/foo.png"
]
}
Note: The main
field should point to the build output (e.g., dist/index.js
).
Troubleshooting
If you encounter errors like libsecret-1.so.0: cannot open shared object file
, it means libsecret
is missing. see the libsecret installation guide for instructions on how to install it based on your operating system.
- Command not found? Ensure your
node_modules/.bin
is in your PATH or use pnpm
/npx
.
- Authentication issues? See Authentication for troubleshooting tokens and login.
- Build errors? Check your app's manifest and config files for typos or missing fields.
- Need help? Open an issue or see the docs folder.
Documentation
Contributing
We welcome contributions! See our contributing guide for details on how to get started, coding standards, and submitting pull requests.
Tooling Roadmap
- Vitest integration (coming soon)
For more information, visit the docs folder or open an issue for support.