Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CairoNew to Visual Studio Code? Get it now.
Cairo

Cairo

StarkWare Industries

|
12,753 installs
| (0) | Free
Support Cairo syntax
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Installation

From the directory of this file, run:

sudo npm install -g vsce
npm install
vsce package
code --install-extension cairo*.vsix

Configuration

If you have cairo-format installed globally (available in PATH), the value of cairo.cairoFormatPath should be cairo-format (the default).

If you're working inside a StarkWare repository, and want the most up-to-date version, set the value of cairo.cairoFormatPath to

${workspaceFolder}/src/starkware/cairo/lang/scripts/cairo-format

Run the extension (for development)

  1. Open VSCode in the directory of the extension.
  2. Run:
    npm install
    npm run compile
    
  3. Reload VSCode.
  4. Press F5.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft