TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

NuShell: A New Type of Shell

67 点作者 RobTonino将近 2 年前

9 条评论

threatofrain将近 2 年前
Two recent conversations from this year.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35124056">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35124056</a> (203 comments)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33419944">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33419944</a> (247 comments)
评论 #36315734 未加载
lars512将近 2 年前
I&#x27;ve been playing with Nushell in past weeks and it&#x27;s truly excellent.<p>I find it occupies a weird niche where I can do a bunch of data wrangling with it, and some basic exploration, but hit a ceiling where what I&#x27;ve done is less persistent than an ETL and less exploratory than a notebook.<p>I think a simple personal ETL system based on nu would be awesome, and likewise I want to add cell magic to Jupyter for it so that you can quickly get data into Pandas or data viz of some kind.
phartenfeller将近 2 年前
As someone who programs for a few years, I really dig their scripting language. I am a huge fan of small scripts but always found bash scripting scary as it is quite unique. Googling a specific thing and seeing some awk solution is just scary for me (like regex was before I understood it). That&#x27;s not bad but I prefer having easily maintainable code for a small script.<p>Nu&#x27;s principles and influence from modern languages makes it easier for me. But be careful about it not having a 1.0 release. Often times things can break, but their docs always point out breaking changes.
评论 #36316262 未加载
Eji1700将近 2 年前
It&#x27;s become my daily driver for the light amounts of shell use I have (just derping around a filesystem and some data manipulation, not a sysadmin).<p>My only issue is that I haven&#x27;t done any custom function&#x2F;aliases&#x2F;whatever for my more frequent locations because the docs on it seem intimidating and I&#x27;m not sure i&#x27;m looking in the right spot.<p>Being able to just open a document, say a json, and have it throw it in a table is soooo nice. I can then tweak it if need be, and save it back, or convert it to csv or whatever other format I need.
评论 #36314829 未加载
d4mi3n将近 2 年前
I&#x27;ve been using Nu as my default shell in Windows Terminal on my personal PC for a good year or so now. Can&#x27;t recommend it enough. It integrates pretty well with windows PowerShell&#x2F;CMD in that you can easily reference binaries outside of Nu&#x27;s shell environment. Like PowerShell, Nu also has the concept of structured data primitives that can be passed between programs.<p>Between Nu and the new-ish winget package manager it almost feels like a proper linux distribution these days.
hfkwer将近 2 年前
Is it a new kind of shell or a clone of powershell? What does it do better than pwsh? I&#x27;m genuinely curious because the Readme isn&#x27;t really convincing.
predictabl3将近 2 年前
I love nushell. Here&#x27;s just a small sample: <a href="https:&#x2F;&#x2F;github.com&#x2F;colemickens&#x2F;nixcfg&#x2F;blob&#x2F;15905d9e42dad17fa609c204f2dc3367db96d6ce&#x2F;.github&#x2F;clean-actions.nu">https:&#x2F;&#x2F;github.com&#x2F;colemickens&#x2F;nixcfg&#x2F;blob&#x2F;15905d9e42dad17fa...</a> (cleans up finished GH Action runs)<p>If nothing else, never having to use `jq` again is a huge QoL improvement.
ramino将近 2 年前
Definitely like the others can’t say it enough. It is a great shell. Having proper data structures in your shell is such a big win.<p>While using it I feel like working with a db like model. Also using bash commands works great and you learn to improve your parsing skills for free!
animal_spirits将近 2 年前
This is a cool project, I see it come up now and then. I&#x27;ve played with it in the past and have been impressed and I&#x27;m glad to see it&#x27;s still being actively developed. I&#x27;ll have to try it out again soon