# 使用 npm 安装 less

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

## 安装

```sh
sudo av install npm:less
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g less
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:less
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/less>
- **版本:** 4.6.6
- **来源摘要:** Leaner CSS
- **主页:** <http://lesscss.org>
- **仓库:** <https://github.com/less/less.js>
- **上游文档:** <http://lesscss.org>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/less/-/less-4.6.6.tgz>
- **问题跟踪器:** <https://github.com/less/less.js/issues>
- **发布时间:** 2026-06-14T00:18:38.547Z
- **最后更新:** 2026-06-14T00:18:38.547Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- lessc (cli)
- lessc (别名)

## 依赖

- copy-anything
- parse-node-version

## 构建依赖

- @less/test-data
- @less/test-import-module
- @rollup/plugin-commonjs
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @types/node
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- benny
- bootstrap-less-port
- c8
- chai
- chalk
- cosmiconfig
- cross-env
- eslint
- fs-extra
- git-rev
- glob
- globby
- grunt
- grunt-cli
- grunt-contrib-clean
- grunt-contrib-connect
- grunt-eslint
- grunt-saucelabs
- grunt-shell
- html-template-tag
- jest-diff
- jit-grunt
- less-plugin-autoprefix
- less-plugin-clean-css
- minimist
- mocha
- mocha-teamcity-reporter
- npm-run-all
- path-browserify
- performance-now
- phin
- playwright
- promise
- read-glob
- resolve
- rollup
- rollup-plugin-terser
- semver
- shx
- time-grunt
- typescript
- uikit
- url
- webpack
- webpack-cli

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.6.6
- 管理器更新时间: 2026-06-14
- 本地数据: OK
- 上游仓库: https://github.com/less/less.js
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 less 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 3.13.0-alpha.3, Beta: 4.6.3-beta.0, Canary: 3.13.1-next.1, Latest: 4.6.6
- **Version Count:** 145
- **Maintainers:** matthew-dean, cloudhead, meri, seven-phases-max, lukeapage
- **Author:** Alexis Sellier
- **Publisher:** GitHub Actions
- **Engines:** Node: >=18
- **Optional Dependencies:** errno, graceful-fs, image-size, make-dir, mime, needle, source-map
- **Integrity:** sha512-ooPSwQGQ2sVe8Dh1jVsbKKsRR2gd8lFK72BDkeSzjnD1T5aIHL65hCMfO0GVmtriKgDKrQv6xp9UrihUsWuAzA==
- **Shasum:** f7854302a3389d2daf96fb3444ba80a54436e66e
- **Unpacked Size:** 3,114,098
- **File Count:** 0
- **Created At:** 2011-01-23T22:28:07.815Z
- **Latest Published At:** 2026-06-14T00:18:38.547Z
- **Modified At:** 2026-06-14T00:18:38.884Z

## 其他软件包管理器记录

- Debian apt - less - 668-1: normalized package name match | Debian stable package indexes: less from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | pager program similar to more | http://www.greenwoodsoftware.com/less/
- Nix - less: normalized package name match | nixpkgs package indexes: pkgs/by-name/le/less/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - less - 590-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: less from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | pager program similar to more | http://www.greenwoodsoftware.com/less/
- apk - less - 702-r0: normalized package name match | Alpine Linux edge package indexes: less from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | File pager | https://www.greenwoodsoftware.com/less/
- apk - less-doc - 702-r0: normalized package name match | Alpine Linux edge package indexes: less-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | File pager (documentation) | https://www.greenwoodsoftware.com/less/
- dnf - less - 702-1.fc45: normalized package name match | Fedora Rawhide package metadata: less from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A text file browser similar to more, but better | https://www.greenwoodsoftware.com/less/
- dnf - less-color - 702-1.fc45: normalized package name match | Fedora Rawhide package metadata: less-color from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Colorizers for less | https://www.greenwoodsoftware.com/less/
- pacman - less - 1:704-1: normalized package name match | Arch Linux sync databases: less from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | A terminal based program for viewing text files | https://www.greenwoodsoftware.com/less/
- zypper - less - 702-1.1: normalized package name match | openSUSE Tumbleweed package metadata: less from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Text File Browser and Pager Similar to more | https://www.greenwoodsoftware.com/less/
- MacPorts - less: normalized package name match | MacPorts ports tree: textproc/less/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - Less: normalized package name match | Chocolatey community package catalog: Less from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'
- Scoop - main/less: normalized package name match | Scoop official bucket manifest trees: bucket/less.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - jftuga.less: normalized package name match | Windows Package Manager source index: jftuga.less from https://cdn.winget.microsoft.com/cache/source.msix
- Nix - lessc: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/le/lessc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [ng-packagr](https://www.automicvault.com/zh-hans/pkg/npm/ng-packagr/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, compile, css.
- [node-minify](https://www.automicvault.com/zh-hans/pkg/npm/node-minify/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, compiler, css.
- [lightningcss-cli](https://www.automicvault.com/zh-hans/pkg/npm/lightningcss-cli/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tools, cli, css, developer.
- [less](https://www.automicvault.com/zh-hans/pkg/brew/less/) - Same normalized package name exists in another local package ecosystem.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
