Skip to content

Install CodeFusion Studio

Before you install CodeFusion Studio (CFS), select the option that applies to you.

No additional preparation is required. Continue to Install the CFS SDK.

Before installing the new SDK, uninstall the previous version and fully reset the CFS package state. This reset removes all installed packages, cached data, and custom remotes. Then continue to Install the CFS SDK.

Install the CFS SDK

Download

Download the CodeFusion Studio installer (version 2.4.0) for your operating system:

Option 1: Install using the setup wizard

  1. Double-click the downloaded .exe file to open the setup wizard, and approve the administrator prompt when it appears.

    CodeFusion Studio Setup wizard welcome screen

  2. Specify the installation folder when prompted. We recommend the default location.

    Installation folder screen showing the default location

    Warning

    The installation path cannot contain spaces.

  3. The installer includes three components:

    • CodeFusion Studio VS Code Extension (selected by default) — copies the VSIX file to your system. After the setup wizard finishes, install the extension in VS Code from the copied VSIX or the VS Code Marketplace.
    • OpenOCD for ADI processors (selected by default)
    • ADI ICE Drivers — select this if you plan to debug SHARC-FX processors, or install them later.

    Select the components you want to install, then select Next.

    Component selection screen listing the CodeFusion Studio VS Code extension, OpenOCD, and ADI ICE Drivers

  4. Review and accept the license agreement.

  5. Select the Start Menu folder for the shortcut.

  6. Review your selections and click Install to start the installation. When the installation is complete, click Finish.

  1. Grant the downloaded installer execute permissions from a terminal:

    chmod a+x CodeFusionStudio_2.4.0.run
    
  2. Install the packages that the installer requires to run:

    sudo apt install libfontconfig1 libdbus-1-3 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xinerama0 libxkbcommon-x11-0 libgl1
    
  3. Run the installer from the terminal to open the setup wizard:

    ./CodeFusionStudio_2.4.0.run
    

    CodeFusion Studio Setup wizard welcome screen

    Note

    The installer doesn't require sudo to run. Running it with sudo additionally configures USB permissions for ICE emulators automatically — see Install ICE drivers.

  4. Specify the installation folder when prompted. We recommend the default location.

    Installation folder screen showing the default location

    Warning

    The installation path cannot contain spaces.

  5. The installer includes two components, both selected by default:

    • CodeFusion Studio VS Code Extension — copies the VSIX file to your system. After the setup wizard finishes, install the extension in VS Code from the copied VSIX or the VS Code Marketplace.
    • OpenOCD for ADI processors

    Select the components you want to install, then select Next.

    Component selection screen listing the CodeFusion Studio VS Code extension and OpenOCD

  6. Review and accept the license agreement.

  7. Review selections and click Install to start the installation. When the installation is complete, click Finish to close the wizard.

  1. Double-click the downloaded .dmg file, then run the installer app inside to open the setup wizard.

    CodeFusion Studio Setup wizard welcome screen

  2. Specify the installation folder when prompted. We recommend the default location.

    Installation folder screen showing the default location

    Warning

    The installation path cannot contain spaces.

  3. The installer includes two components, both selected by default:

    • CodeFusion Studio VS Code Extension — copies the VSIX file to your system. After the setup wizard finishes, install the extension in VS Code from the copied VSIX or the VS Code Marketplace.
    • OpenOCD for ADI processors

    Select the components you want to install, then select Next.

    Component selection screen listing the CodeFusion Studio VS Code extension and OpenOCD

  4. Review and accept the license agreement.

  5. Review your selections and click Install to start the installation. When the installation is complete, click Finish to close the wizard.

Option 2: Install using the command line

Invoke the installer with the install switch to install the full package to the default location, with the following switches:

Switch Effect
--al Accept license
--am Accept messages
-c Confirms prompts
--help Provide help output
-t Specify the path to install to

Note

When using the --al switch, review the CodeFusion Studio license and third-party notices for the version before running the command that agrees to the terms. The same license texts are installed in the Licenses directory of your installation.

To run the installer from the command line, use the following:

Run the command from an elevated command prompt (right-click Command Prompt and select Run as administrator).

CodeFusionStudio_2.4.0.exe install --am --al -c

Running the installer with sudo also configures USB permissions for ICE emulators automatically — see Install ICE drivers.

sudo apt install libfontconfig1 libdbus-1-3 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xinerama0 libxkbcommon-x11-0 libgl1
chmod a+x CodeFusionStudio_2.4.0.run
./CodeFusionStudio_2.4.0.run install --am --al -c
hdiutil mount CodeFusionStudio_2.4.0.dmg -mountpoint cfs
cfs/CodeFusionStudio_2.4.0.app/Contents/MacOS/CodeFusionStudio_2.4.0 install --am --al -c
hdiutil unmount cfs

Next steps

Next, install the CodeFusion Studio VS Code extension.