Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link

Icon LinkBuilt-In Binaries

fuels conveniently ships with built-in binaries for forc Icon Link and fuel-core Icon Link.

In case you haven't installed The Fuel Toolchain yet, these will be used.

Here's how to configure this explicitly:

export default createConfig({
  workspace: './sway-programs',
  output: './src/sway-programs-api',
  useBuiltinForc: true,
  useBuiltinFuelCore: true,
});

You can also call the built-in binaries directly:

npx fuels@0.88.1 help forc
npx fuels@0.88.1 forc --version
npx fuels@0.88.1 forc test -h
npx fuels@0.88.1 help core
npx fuels@0.88.1 core --version
npx fuels@0.88.1 core run -h

Check the docs for forc and fuel-core:

Icon LinkThe Fuel Toolchain

The Fuel Toolchain consists of several components Icon Link.

You can use fuel-up Icon Link to get it up and running.

Check if it's working correctly with:

forc --version
fuel-core --version

The forc and fuel-core binaries will be available in your system and fuels automatically prioritize them instead of the built-in ones.

Here's how to configure this explicitly:

export default createConfig({
  workspace: './sway-programs',
  output: './src/sway-programs-api',
  useBuiltinForc: false,
  useBuiltinFuelCore: false,
});