---
title: "shelljs 0.9.0 Breaking Changes on npm | Since.dev"
description: "What each shelljs release removed, renamed or changed: 41 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/shelljs
last_updated: 2026-12-04
---

# shelljs breaking changes

shelljs 0.9.0 (March 8, 2025) is its newest release with breaking changes, 4 of them. The first: Drops support for Node.js v4 and v5 in shelljs 0.9.0. Every breaking API change we have recorded in shelljs on npm: 41 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.10.0`, released May 9, 2025. [Source repository](https://github.com/shelljs/shelljs)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.8.0](#v-0-8-0) to [0.9.0](#v-0-9-0): 4 breaking changes in 1 version.

## shelljs 0.9.0 breaking changes

shelljs 0.9.0, released March 8, 2025: 4 breaking changes.

- **Removed**  

The release stops supporting Node.js v4 and v5. Users on those versions must upgrade Node.js before using this release. [github.com](https://github.com/shelljs/shelljs/releases/tag/v0.9.0)
- **Removed**  

The release drops support for older Node.js versions. Users on those versions must upgrade Node.js before using this release. [github.com](https://github.com/shelljs/shelljs/releases/tag/v0.9.0)
- **Behavior changed** `sed`  

Calling sed with the -i option now runs silently instead of printing output. Code that relies on that output must change. [github.com](https://github.com/shelljs/shelljs/releases/tag/v0.9.0)
- **Signature changed** `ShellConfig.globOptions`  

The config.globOptions setting is deprecated in this release. Stop setting it in code. [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.9.0)

## shelljs 0.8.0 breaking changes

shelljs 0.8.0, released January 12, 2018: 37 breaking changes.

- **Removed**  

Support for Node.js v0.12 was dropped. Use a newer Node.js runtime. [github.com](https://github.com/shelljs/shelljs/releases/tag/v0.8.0)
- **Behavior changed**  

On unexpected errors the package throws an error rather than terminating the Node process, so callers must handle the thrown error. [github.com](https://github.com/shelljs/shelljs/releases/tag/v0.8.0)
- **Behavior changed** `ls`  

ls follows symbolic links to directories by default, so code relying on the old listing behavior may see different output. [github.com](https://github.com/shelljs/shelljs/releases/tag/v0.8.0)
- **Signature changed** `cat`  

Was function cat(...files: Array\<string | string\[\]>): ShellString; now const cat: CatFunction. [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.8.0)
- **Signature changed** `cd`  

Was function cd(dir: string): void; now function cd(dir?: string): ShellString. [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.8.0)
- **Signature changed** `chmod`  

Was function chmod(mode: string, file: string): void function chmod(octalMode: number, file: string): void function chmod(options: string, mode: string, file: string): void function chmod(options: string, octalMode: number, file: string)... [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.8.0)
- **Signature changed** `cp`  

Was function cp(options: string, source: string | string\[\], dest: string): void function cp(source: string | string\[\], dest: string): void; now const cp: CopyFunction. [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.8.0)
- **Signature changed** `dirs`  

Was function dirs(options: "+N"): ShellString function dirs(options: "-N"): ShellString function dirs(options: "-c"): ShellArray function dirs(options: string): any; now const dirs: DirsFunction. [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.8.0)
- **Signature changed** `echo`  

Was function echo(...text: string\[\]): ShellString; now const echo: EchoFunction. [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.8.0)
- **Signature changed** `env`  

Was const env: {\[key: string\]: string}; now const env: NodeJS.ProcessEnv. [npmjs.com](https://www.npmjs.com/package/shelljs/v/0.8.0)

And 27 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
