YAML with Script installs statistics
By Matthiesen Technology · VS Code Marketplace · Programming Languages
A VS Code extension designed for GitLab CI users to analyze and execute shell scripts within YAML files. Highlight issues with ShellCheck diagnostics, run scripts directly from the editor, and streamline your CI pipeline development. Perfect for debugging and optimizing `.gitlab-ci.yml` files.
YAML with Script has 299,875 recorded installs on VS Code Marketplace, an increase of 3.3% over the past 30 days, ranking #1172 of 2,515 tracked listings.
Rating: 5.00 / 5 from 1 ratings
About YAML with Script
YAML with Script
🚀 Extend YAML files with embedded shell scripts and linting – the perfect solution for seamless automation and debugging directly within VS Code!
💡 Primary Use Case: GitLab CI/CD
This extension is specifically designed for GitLab CI/CD, making it easier
to work with .gitlab-ci.yml files. Automate, debug, and test your CI pipelines
without the need for constant commits and pushes.
Features
- CodeLens Integration: Add interactive buttons to YAML files to execute
shell scripts (
script) with a single click. - ShellCheck Support: Shows shell diagnostics in the VS Code Problems panel when ShellCheck is installed.
- Shell Syntax Highlighting: Highlights shell code in YAML script blocks.
- Optimized for GitLab CI/CD: Simplifies working with
.gitlab-ci.yml, includingscriptblocks,before_script, and more. - Customizable Settings: Configure script dialects, severity levels, and other options via the extension settings.
Example Usage
Each before_script, script, or after_script block runs separately. A YAML
string runs as-is. For a list, the extension joins the direct string entries in
order, including multiline strings such as - |. It skips other entries, including
!reference tags
that refer to a sequence and YAML aliases. Includes and inherited job settings
are not resolved.
YAML file with a script
after_script, script, and before_script have shell highlighting and a
Run YAML with Script button. Install ShellCheck
to see diagnostics alongside the script.

How to execute a script:
- Open a
.gitlab-ci.ymlfile in VS Code. - Click the CodeLens button (
▶️ Run YAML with Script) above your script. - The output opens beside the editor. You can follow it live, toggle Auto Scroll or Line Wrap, and stop the script.
The working directory is the VS Code workspace folder that contains the YAML file. For a standalone file, it is the directory containing that file. The script runs in the extension host's default shell and environment. GitLab Runner images, services and CI/CD variables are not loaded automatically.

Automated Debugging with ShellCheck
ShellCheck highlights findings directly in VS Code. The default minimum severity
is warning. Choose info or style to include less severe findings.
- Severity Levels:
- Errors
- Warnings
- Info
- Style
Quickly check issues with direct links to the ShellCheck documentation. Unfortunately quick actions are not implemented, but might be in the future.

Settings
Customize the extension via VS Code settings:
| Setting | Description |
|---|---|
yaml-with-script.enabled | Enable or disable the extension. |
yaml-with-script.baseScript | Path to a script to source before running the YAML script. Use an absolute path or a path relative to the working directory. |
yaml-with-script.dialect | Set the ShellCheck dialect to bash, sh, dash, ksh, busybox, or inline to let ShellCheck detect it from the script. |
yaml-with-script.severity | Configure severity levels for ShellCheck (error, warning, info, style). |
yaml-with-script.shellcheckFolder | This is the path to the folder that includes 'shellcheck', e.g. (/opt/homebrew/bin will lead to /opt/homebrew/bin/shellcheck --version) |
ShellCheck setup
Syntax highlighting and the run button also work without ShellCheck. For
diagnostics, install ShellCheck and make sure it is
on the VS Code extension host's PATH, or set yaml-with-script.shellcheckFolder
to the directory containing the executable. On Linux with Snap, that may be
/snap/bin.
If diagnostics are missing, check the minimum severity and open View → Output to inspect the YAML with Script log.
Releases
For a new release, update package.json and package-lock.json together
and add a matching ## [X.Y.Z] section to CHANGELOG.md. Push a protected
vX.Y.Z tag from the default branch. GitLab runs the tests and publishes
the VSIX, ZIP and release notes on the
GitLab release page.
Download the VSIX from the release and upload it under the
matthiesen-technology publisher in the
Visual Studio Marketplace publisher portal.
The ZIP contains the VSIX and a copy of the release notes.
For a local build, use Node.js 22 or newer and run npm ci, npm test and
npm run package:vsix.
License
This software is released under the MIT License (see License).
Description from the VS Code Marketplace listing.
- bash
- ci/cd
- debugging
- gitlab-ci
- scripts
- shellcheck
- yaml
- yml
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Programming Languages plugins
All 20 YAML with Script alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=matthiesen-technology.yaml-with-script. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.