Installation
Install ParrotJS in VS Code β requirements, Marketplace and CLI install, and configuration profiles.
This guide covers everything about getting ParrotJS installed, including requirements and the configuration profiles that shape how it runs.
Requirements
- VS Code 1.75 or later
- Node.js 18 or later
- A JavaScript or TypeScript project
ParrotJS works with .js, .ts, .jsx, and .tsx files out of the box. It runs each file in a forked Node.js child process, so the Node.js runtime must be available on your machine.
Install from the Marketplace
- Open VS Code and press
Cmd+Shift+X/Ctrl+Shift+Xto open the Extensions view. - Search for ParrotJS (publisher: ParrotDev).
- Click Install.
- Reload VS Code if prompted.
Or install directly from the VS Code Marketplace.
Install from the Command Line
code --install-extension parrotdev.parrotjs
Install from a VSIX (beta builds)
If you have a .vsix file (for example, a pre-release build), install it from the Extensions view:
- Open the Extensions view (
Cmd+Shift+X/Ctrl+Shift+X). - Click the β¦ menu (top-right) and choose Install from VSIXβ¦.
- Select the
.vsixfile.
Or from the command line:
code --install-extension ./parrotjs-0.1.2.vsix
Verify the Installation
- Open any
.jsor.tsfile. ParrotJS auto-starts (unless youβve disabledparrotjs.autoStart). - Type an expression and add
// ?after it β you should see its value inline within a few hundred milliseconds. - The ParrotJS status bar item (parrot toggle) and the ParrotJS output panel become available.
- Run ParrotJS: Show Welcome Page from the command palette to see the guided onboarding.
Configuration Profiles
ParrotJS ships with three profiles that tune execution defaults for common project types. Switch with the ParrotJS: Switch Profile command, or set parrotjs.profile.
| Profile | Purpose |
|---|---|
node (default) |
General Node.js projects β CJS and ESM, relative imports, require and import both handled. |
react |
JSX/TSX projects β longer execution budget (10s), deeper module resolution (node_modules included), shallower inline objects. |
vanilla |
Minimal browser-ish code β fast 200ms debounce, tighter 3s timeout, no node_modules resolution. |
Each profile sets the same set of values β debounce delay, module resolution, execution timeout, inline length, and object depth. The exact defaults are listed on the Configuration page.
Whatβs Next?
- Quickstart β see your first inline values.
- Configuration β the full settings reference.
- Feature guides β learn what ParrotJS can do.