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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sasscli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本1.102.0
管理器更新时间2026-07-26
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/sass/dart-sass

安装元数据

软件包元数据

软件包键brew:node-sass
版本1.102.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/node-sass
主页https://github.com/sass/dart-sass
仓库https://github.com/sass/dart-sass
许可证MIT
源码归档https://registry.npmjs.org/sass/-/sass-1.102.0.tgz
最后更新2026-07-26T03:56:13Z
Pulseupdated
依赖node
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenode-sass
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation