@nushell/windows-x64 v0.105.1
Publish Nushell to the NPM Registry
The only purpose of this repository is to publish Nushell officially released binaries to the NPM registry as is, for easy installation via npm.
For issues about the nushell npm package (such as installation, format, etc.) please create an issue here, and for issues about the nu binaries please go to the Official Nushell Repo to submit an issue.
To install nu by npm, simply run: npm i -g nushell, then you can run nu to start a new session.
Note
- If you got some error like 'Error: Couldn't find application binary inside node_modules...' while running
nuor 'No matching version found for nushell...' while installation, please specify the registry and try to install it again:npm i -g nushell --registry https://registry.npmjs.com. - The npm package for
nushellcurrently contains only thenubinary, and the official plugins were not included, if you need the full version, please build it from source or download the packages from here
FAQ
Why is
Nushellbe published tonpmeven? There's nothing JavaScript about Nushell (that I know of?), Isn't npm...for js packages?The direct cause of publishing
Nushelltonpmwas fromNushell's user feedback: "I'd like to run nu scripts in environments that only have access to npm for installing dependencies.". In fact, we have encountered many times such situation with network limitations too, and publish tonpmis a good approach, especially for a container environment that doesn't havewingetorbrewinstalled.npmmay be thought as typically for js packages, however, nowadays lots of binaries written byrustorgohave been published to npm, such asgit-cliff,lefthook, etc. they are all dev tools, andnushellis an engine that could power lots of develop involved scripts, and publish it tonpmwill make it easier to access especially for JS related projects, as they already havenpmbeen installed.Will the npm version of
nuI installed be bloated?No. You can read that from the base npm
package.jsonand the platform specificpackage.json, only the packages independencieswill be installed, and the dependencies will be installed is 0, foroptionalDependenciesthat meansnpmwill choose the exact one package according to yourosandcpuarch. For example, I'm using a mac with Intel cpu inside andnpmwill install only@nushell/darwin-x64for me and nothing else. See?npmchoose the right package for me with just one command.Will the npm version of
nuI installed has JS performance issue?Well, you can read that from the source here. All node does is simply call the
nubinary itself, and nothing more.
将 Nushell 发布到 NPM 仓库
本仓库的唯一作用就是将 Nushell 官方发布的二进制文件原封不动地发布到 NPM 仓库,方便大家通过 npm 安装使用。
对于 nushell npm 包的问题(诸如安装、格式等)可以 在此 提 Issue,至于 nu 二进制文件的问题请前往 官方仓库 提 Issue。
通过 npm 安装 nushell 只需要执行: npm i -g nushell 即可,然后你可以通过 nu 命令创建一个新的会话。
注意
- 如果你在运行
nu时看到 'Error: Couldn't find application binary inside node_modules...' 错误,或者在安装过程中看到 'No matching version found for nushell...' 错误,请尝试指定registry参数并重新安装:npm i -g nushell --registry https://registry.npmjs.com。 nushell的 npm 包内目前只包含nu二进制文件,不含官方提供的各插件,如需完整版本请自行通过源码构建或者 由此下载
6 months ago
5 months ago
12 months ago
9 months ago
7 months ago
5 months ago
5 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago