DEV Community

Matt Tanner
Matt Tanner

Posted on

How to Install Amp in Windsurf

When it comes to using Amp, there are many different IDEs that support it. For Windsurf users, this includes support in the Windsurf IDE. In this tutorial, we will go over how to install Amp in Windsurf. Let’s get started.

Step 1: Sign up for an Amp account

Before you go ahead with installing Amp. you’ll want to set up your account. To do this, go to the Amp sign-up page and go through the onboarding flow. Once completed, we can go to the next step of installing Amp in Windsurf.

Step 2: Install the Amp Extension in Windsurf

While logged into Amp in a browser, on the dashboard page:

  1. Click on the Install button in the footer
  2. Make sure Windsurf is selected in the modal that appears
  3. Click on the Install Amp for Windsurf button

Amp Windsurf Install button

The browser will then likely prompt you that ampcode.com wants to open Windsurf. This is expected, so you’ll need to allow this by clicking Open Windsurf.

VS Code install prompt

Once you’re back in Windsurf, the IDE will also ask you if you want to grant permissions to open/download the extension. Once again, you’ll want to allow this so it can be installed by clicking Install Extension and Open URI in the dialog.

VS Code permissions popup

From here, Windsurf will try and install the extension. First though, it’s going to ask if you trust Sourcegraph as a publisher. Here you’ll click Trust Publisher and Install.

VS Code trust Publisher prompt

After the extension installs, you’ll see a few things added to your Windsurf instance. You’ll see the Amp chat interface on the left and the Amp extension in the left-side menu for easy access.

Windsurf with Amp installed

All of this means that you’ve successfully installed Amp in Windsurf and you’re ready to start using it.

Still can’t install Amp?

If the instruction above didn’t work out quite as expected, here are a few scenarios and solutions to help you get Amp up and running successfully.

For instance, if clicking the Install Amp for Windsurf button isn’t working for you, you can try to do a manual installation through the Windsurf terminal. To do this, in the Amp dashboard in your browser, expand the Manual Instructions and follow the steps shown:

Manual Windsurf install instructions

Alternatively, you can also go into the Extensions Marketplace in Windsurf and install it directly there too. Simply open the Extensions tab and search for “amp”; then, click Install.

Amp in Extension marketplace

Top comments (0)