Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @fusebit/cli with all npm packages installed. Try it out:

var cli = require("@fusebit/cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@fusebit/cli v1.8.4

The Fusebit CLI is a command-line tool for the management of Fusebit accounts, users, functions and more. For more information about the Fusebit platform, see


The Fusebit CLI is built on node.js, which is a pre-requisite you need to install first. Then, run the following command:

npm install -g @fusebit/cli


To start using the CLI against your deployment, you will need a one-time initialization token, which will be provided during onboarding or when you are given access.

fuse init {initialization-token}

After the command completes, a local profile is created and stored on your machine under ~/.fusebit. The profile contains private connection information that enables the CLI to communicate with the Fusebit service, and should not be shared.

A profile can also optionally specify a Fusebit boundary and function, which will result in all commands that take those as parameters to default to the values provided in the profile. If you frequently work within the same boundary or on the same function, this is a useful way to save time. Multiple profiles can be created with combinations of boundary and function defaults via the fuse profile command.


The Fusebit CLI supports the following top-level commands. Each command displays further information when invoked with no parameters:

  • fuse init: Initialize the CLI with a one-time token provided by account administrator
  • fuse function: Manage functions, view function logs, download functions for local development. More details here: [Local Development with the Fusebit CLI]({{ site.baseurl}}{% link authoring-guide/ %})
  • fuse profile: Manage profiles
  • fuse token: Generate a short-lived access token to be used with the HTTP API
  • fuse user: (account admins) Retrieve and manage users and their identities and access. More details here: [Managing End-Users within the Fusebit Platform]({{ site.baseurl}}{% link integrator-guide/ %})
  • fuse client: (account admins) Retrieve and manage clients and their identities and access. More details here: [Setting up your Team]({{ site.baseurl}}{% link integrator-guide/ %}#managing-end-users-within-the-fusebit-platform)
  • fuse issuer: (account admins) Retrieve and manage trusted issuers associated with the account
  • fuse version: Return the version of the Fusebit CLI


To update the Fusebit CLI to the latest version, use:

npm install -g @fusebit/cli


To uninstall the Fusebit CLI, use the following command:

npm uninstall -g @fusebit/cli

For security reasons, you may also choose to remove any profiles that were stored locally:

rm -r ~/.fusebit


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free