pkg.soopen package index

brew / 排名 2268

使用 Homebrew, chocolatey, Nix, pacman, scoop 安装 node-sass

查看 node-sass 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install node-sass

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#sass

nixpkgs package indexes · pkgs/by-name/sa/sass/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S dart-sass

Arch Linux sync databases · dart-sass · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

JavaScript implementation of a Sass compiler

命令和别名

  • sass

历史

项目历史与用法

The Homebrew formula named node-sass now points at Dart Sass rather than the retired `node-sass` LibSass wrapper. Homebrew describes the formula as a JavaScript implementation of a Sass compiler and links it to `sass/dart-sass`, with the `sass` executable as the practical package surface.

项目历史

The historical `node-sass` npm package was a Node.js wrapper around LibSass. The Sass team wrote on 26 October 2020 that LibSass and packages built on top of it, including Node Sass, were deprecated because LibSass lacked enough maintainer bandwidth to keep up with Sass and CSS language changes.

Dart Sass 1.0.0 was released on 26 March 2018. The Sass team described that release as the first stable Dart Sass release, published to GitHub, npm, Chocolatey, Homebrew, and pub, with compatibility with the Sass spec test suite and broad compatibility with the Node Sass API.

On 24 July 2024 the Sass team declared Node Sass end-of-life, marked the npm package deprecated, archived its GitHub repository, and recommended migration to Dart Sass. The same post notes that there is no longer an officially supported way to use LibSass from Node.js.

采用历史

Node Sass mattered because it made Sass common outside the original Ruby ecosystem, especially in JavaScript build pipelines that wanted a fast native compiler. Its retirement was not just a package rename: it marked the JavaScript ecosystem's shift from LibSass bindings to Dart Sass as the maintained reference implementation.

Homebrew Formulae lists node-sass 1.101.0, linked to Dart Sass, with 3,447 installs over 365 days and 3,259 installs on request. That residual use mostly represents people installing a familiar package name to get the maintained `sass` compiler rather than adopting the old Node Sass binding.

使用方式

For new work, package nerds treat this as Dart Sass: run `sass input.scss output.css`, use watch/build scripts, or depend on the JavaScript API from the `sass` package. The Dart Sass README shows `npm install -g sass` for a global executable and `npm install --save-dev sass` for project use, then `require('sass')` and `sass.compile(...)` from Node.

For legacy migrations, the Sass team's short path is to replace `node-sass` in `package.json` with `sass`. Most old `render()` and `renderSync()` callers continue through Dart Sass's legacy JavaScript API, but new code should use the newer compile API because the legacy API is deprecated for Dart Sass 2.0.0.

为什么软件包爱好者会关心

This formula is a naming fossil. It preserves the ecosystem memory of Node Sass while delivering Dart Sass, and it is useful precisely because build tools, READMEs, and muscle memory often say `node-sass` even after the maintained compiler moved on.

Related projects

  • Dart Sass
  • LibSass
  • Ruby Sass
  • sass npm package
  • sass-embedded

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sass可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.102.0
管理器更新时间2026-07-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:node-sass
版本1.102.0
软件包管理器Homebrew
主页https://github.com/sass/dart-sass
最后更新2026-07-26T03:56:13Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix92%

sass

nix profile install nixpkgs#sass
  • installed executable or alias match
  • 匹配方式:Sass
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sa/sass/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman92%

dart-sass 1.102.0-1

Sass makes CSS fun again

http://sass-lang.com/

sudo pacman -S dart-sass
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Sass
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dart-sass from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Chocolatey92%

sass

choco install sass
  • installed executable or alias match
  • 匹配方式:Sass
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: sass from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','samsung-magician'
Scoop92%

main/sass

scoop install main/sass
  • installed executable or alias match
  • 匹配方式:Sass
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/sass.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation