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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Are there no shells for Windows other than PowerShell and CMD?

11 点作者 piuvas超过 2 年前
And I don&#x27;t mean terminal emulators, because I know Console Host, WT, Kitty, Alacritty. I mean shells like bash, zsh.<p>How come there are so many alternatives for linux but none for Windows?<p>Nothing against PowerShell, I&#x27;m just curious.

10 条评论

delta_p_delta_x超过 2 年前
Why <i>not</i> PowerShell, though? If you ever want to directly administer Windows through the command-line, PowerShell is increasingly your only bet, as older CMD executables are deprecated.<p>I&#x27;ll suffix with my opinion that PowerShell is <i>much</i> nicer than many POSIX shells, especially given its hybrid object-oriented + functional pipeline paradigm.
评论 #33331994 未加载
cloudking超过 2 年前
You can get Linux shells and environments in Windows via WSL <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;wsl&#x2F;install" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;wsl&#x2F;install</a>
评论 #33324912 未加载
andrewf超过 2 年前
There&#x27;s 4DOS descendent Take Command: <a href="https:&#x2F;&#x2F;jpsoft.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jpsoft.com&#x2F;</a>
评论 #33325412 未加载
anigbrowl超过 2 年前
Way back when there were a few substitutes for command.com, but none of them offered sufficiently utility to gain traction outside of the IT department. And since it&#x27;s now trivially easy to run a unix virtual machine and do your command line stuff there if you want, I&#x27;m not sure there&#x27;s much inventive to develop alternatives.
runjake超过 2 年前
There&#x27;s plenty. Do more research.<p>- WSL -&gt; Bash (Best, IMHO)<p>- Cygwin (old, slow IMHO)<p>- Git Bash (essentially includes bash for windows with a bunch of the more popular add-ons.<p>But, PowerShell is a pretty great shell, too. Make sure you&#x27;re running the latest 7.x version, as it&#x27;s improved tons.
metadat超过 2 年前
What classification does Cygwin fall under?<p>It can run most or all of the widespread *nix shells.
HiramKHurley超过 2 年前
There&#x27;s Yori <a href="http:&#x2F;&#x2F;www.malsmith.net&#x2F;yori&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.malsmith.net&#x2F;yori&#x2F;</a>
Kukumber超过 2 年前
I personally don&#x27;t count powershell as a shell, it&#x27;s more like an interpreted&#x2F;jit compiled .net interactive CLI &#x27;shell&#x27;, hence why it is slow to start and to run<p>A shell is a program that takes your commands and send them to the OS, it doesn&#x27;t compile anything
评论 #33325552 未加载
spacechild1超过 2 年前
I always use the Msys2 shell.
melony超过 2 年前
<a href="https:&#x2F;&#x2F;www.atlassian.com&#x2F;git&#x2F;tutorials&#x2F;git-bash" rel="nofollow">https:&#x2F;&#x2F;www.atlassian.com&#x2F;git&#x2F;tutorials&#x2F;git-bash</a>