How to Install and Set Up Codeium in VSCode?

Terminal installing the Codeium.codeium extension beside a VS Code window with an AI suggestion

Codeium VSCode setup takes only a few minutes, and once it is done you get AI suggestions directly in the editor you already know. The extension adds inline autocomplete, a chat panel and code lenses without changing your theme, keybindings or other extensions.

This walkthrough covers installing from the Extensions view or the command line, signing in, the shortcuts worth learning first and the settings that control when suggestions appear. It applies to desktop VS Code and to browser-based environments built on it.

What You Need Before Installing

Requirements are light. VS Code 1.89 or newer is supported, and the extension runs on Windows, macOS and Linux wherever VS Code itself runs. You also need a Codeium or Windsurf account, which you can create during the sign-in step.

  • An up-to-date copy of VS Code, or a compatible browser environment such as Codespaces.
  • Internet access so the extension can download its language server on first launch.
  • Permission to install extensions, which some managed work laptops restrict.

Install the Extension

There are two equally valid routes. Both install the same package, published by Codeium under the ID Codeium.codeium, which now appears as "Windsurf Plugin (formerly Codeium)".

From the Extensions View

Open the Extensions view with Ctrl+Shift+X on Windows and Linux or Cmd+Shift+X on macOS. Type Codeium or Windsurf Plugin in the search bar, open the listing published by Codeium, and select Install.

Check the publisher name before installing. Several extensions use similar words in their titles, and only the listing from the Codeium publisher connects to the Codeium service.

From the Command Line

If you prefer scripts or set up machines often, run the following command in a terminal where the code launcher is available:

code --install-extension Codeium.codeium

The command works the same on every operating system. It is also handy inside dotfiles or onboarding scripts that prepare a new developer workstation.

Sign In and Activate Suggestions

After installation, the extension downloads its language server, which usually takes ten to twenty seconds on a normal connection. You can keep editing while a progress notification shows the download status in the bottom-right corner.

A second notification then asks you to sign in. Selecting it opens your browser, where you log in or create an account; the browser sends a token back to VS Code automatically. If that hand-off fails, the Codeium login fixes show how to paste the token by hand.

Confirm Everything Works

Open any source file and start typing a function name or a comment that describes what you want. Grey ghost text should appear within a moment, and the status bar shows the Codeium indicator when the extension is active.

If nothing appears, check the status bar item first. A warning icon usually means the sign-in did not complete or the language server is still downloading.

Shortcuts Worth Learning First

A handful of keys cover almost everything in daily use. Learning them early makes suggestions feel like part of normal typing rather than an interruption.

ActionWindows and LinuxmacOS
Accept the full suggestionTabTab
Dismiss the suggestionEscEsc
Next suggestionAlt+]Option+]
Previous suggestionAlt+[Option+[
Accept the next word onlyCtrl+Right ArrowCmd+Right Arrow

Shortcuts can change between releases, and conflicts with other extensions happen. Open the Keyboard Shortcuts editor and search for Codeium to see the bindings in your installed version.

Settings That Shape the Experience

The extension's settings live in the normal VS Code Settings UI under the extension's section. The most useful controls decide where suggestions appear and how much the extension talks to you.

  • Turn autocomplete off for specific languages, such as Markdown or plain text, if suggestions distract you while writing prose.
  • Enable or disable code lenses, the small Refactor, Explain and Docstring links above functions.
  • Adjust whether suggestions appear automatically or only when you trigger them.

Using Chat Inside VS Code

The chat panel opens from the Codeium icon in the activity bar. Ask it to explain a selected function, suggest a refactor or write a unit test, then copy or insert the answer into your file.

Chat uses the open file and surrounding code as context, so selecting the relevant lines before asking usually produces sharper answers. The features guide shows more ways to use chat and code lenses together.

Codeium in Browser-Based VS Code

GitHub Codespaces, Gitpod and similar cloud workspaces run the same extension. Add Codeium.codeium to the workspace's recommended extensions or dev container configuration so it installs automatically for everyone who opens the project.

Sign-in happens once per environment. Because cloud workspaces are often rebuilt, keep the token flow handy, and allow pop-ups for the workspace domain so the login tab can open.

Workspace-Level Recommendations

A .vscode/extensions.json file can list the extension under recommendations. VS Code then prompts teammates to install it when they open the folder, which keeps setups consistent without forcing anything.

Settings that should apply to the whole project, such as disabling suggestions for generated files, can live in the workspace settings file. Personal preferences stay in user settings.

When Suggestions Do Not Appear

Most problems come from a short list of causes. Work through them in order before reinstalling anything.

  • Sign-in not completed: run the sign-in command again from the Command Palette.
  • Language server blocked: a proxy, firewall or custom certificate can stop the first download.
  • Another AI extension active: two inline completion providers can hide each other's ghost text.
  • Language disabled: check that the current file type is not excluded in settings.

Reloading the window with the Developer: Reload Window command fixes many temporary hiccups. If problems continue, the extension's output channel in the Output panel lists errors that help narrow down the cause.

Conclusion

Codeium VSCode setup comes down to three moves: install the Codeium.codeium extension, let the language server download, and sign in once through the browser. After that, Tab, Esc and the suggestion-cycling keys cover nearly everything you do day to day.

Spend a few minutes in the settings to switch off suggestions where they are not helpful, and try the chat panel on real code from your project. To understand where the suggestions come from, read What Is Codeium AI.