⌘K

Icon SunFilledIcon MoonStars
Built in Binaries

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 help forc
npx fuels forc --version
npx fuels forc test -h
npx fuels help core
npx fuels core --version
npx fuels 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,
});