Installation

All the ways to install Aspect Code.

CLI via npm (recommended)

Install globally:


npm install -g aspectcode

Then run in any project:


cd your-project
aspectcode

npx (no install)

Run without installing:


npx aspectcode

Good for trying it out or CI environments.

VS Code extension

The VS Code extension is a thin launcher that runs the CLI as a subprocess.


  • Open VS Code
  • Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  • Search for "Aspect Code"
  • Click Install

  • The extension automatically runs the CLI when you open a project. All features are the same — the extension just provides a convenient way to launch it.

    Requirements

  • Node.js 18 or later
  • npm or npx (comes with Node.js)

  • No other dependencies. No account required. Works fully offline.