nushell VS xonsh

Compare nushell vs xonsh and see what are their differences.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nushell xonsh
218 117
32,435 8,413
2.0% 0.9%
9.9 9.7
4 days ago 6 days ago
Rust Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nushell

Posts with mentions or reviews of nushell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-15.
  • Hacker Typer
    3 projects | news.ycombinator.com | 15 Oct 2024
    - error handling is neglected in the basic design: <https://github.com/nushell/nushell/issues/10633>, <https://github.com/nushell/nushell/issues/10856>, <https://github.com/nushell/nushell/issues/8615>, <https://github.com/nushell/nushell/issues/6617>
  • How to define and work with a Rust-like result type in NuShell
    1 project | dev.to | 21 Jun 2024
    In contrast to Rust, NuShell has try/catch control structures to capture and deal with errors, however, like more imperatively leaning languages (for example, Java or Python). There is no result type in the standard library at the time of writing.
  • Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash
    4 projects | news.ycombinator.com | 18 Jun 2024
    While the tricks are nice, we also have the option of jumping to something like http://www.nushell.sh/ for an overall more sane environment.
  • Dicas e truques: Ferramentas para produtividade para dev no Sistema operacional 🪟 Windows 11
    8 projects | dev.to | 1 Jun 2024
    Nushell
  • Exploring Nushell, a Rust-powered, cross-platform shell
    1 project | dev.to | 2 May 2024
    The first method is through downloading the pre-built binaries. With this method, you don't need to install anything other than Nushell's dependencies. Once you've downloaded the binaries, add them to your system's environment path to run it directly in your terminal.
  • PowerShell: The object-oriented shell you didn't know you needed
    2 projects | news.ycombinator.com | 29 Apr 2024
    I rather nushell for this purpose, it's more fun to write and easier to read.

    https://www.nushell.sh/

  • NuShell - Ceci n'est pas une |
    1 project | dev.to | 18 Mar 2024
    These are just three small examples of what this shell written in Rust allows. The features are many and many more, but I'll leave it up to you to discover and enjoy them; I'm currently playing around with it and it's giving me a lot of satisfaction and immediacy, now it has a fixed place among the tools I use when working! The project is Open Source, so if you want to contribute, I invite you, as always, to do so, I leave you the link to the repo here!
  • Xonsh: Python-powered, cross-platform, Unix-gazing shell
    12 projects | news.ycombinator.com | 14 Feb 2024
  • Fish shell 3.7.0: last release branch before the full Rust rewrite
    9 projects | news.ycombinator.com | 1 Jan 2024
    Any thoughts on fish as compared to nushell [0]? It's similar to PowerShell in its philosophy and is also written in Rust.

    [0] https://github.com/nushell/nushell

  • jc: Converts the output of popular command-line tools to JSON
    8 projects | news.ycombinator.com | 8 Dec 2023
    > In PowerShell, structured output is the default and it seems to work very well.

    PowerShell goes a step beyond JSON, by supporting actual mutable objects. So instead of just passing through structured data, you effectively pass around opaque objects that allow you to go back to earlier pipeline stages, and invoke methods, if I understand correctly: https://learn.microsoft.com/en-us/powershell/module/microsof....

    I'm rather fond of wrappers like jc and libxo, and experimental shells like https://www.nushell.sh/. These still focus on passing data, not objects with executable methods. On some level, I find this comfortable: Structured data still feels pretty Unix-like, if that makes sense? If I want actual objects, then it's probably time to fire up Python or Ruby.

    Knowing when to switch from a shell script to a full-fledged programming language is important, even if your shell is basically awesome and has good programming features.

xonsh

Posts with mentions or reviews of xonsh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-18.
  • The Dune Shell
    4 projects | news.ycombinator.com | 18 Sep 2024
    Interesting thought experiment. Reminds me of my cousin's project Xonsh https://xon.sh/
  • Reasons I still love the fish shell
    2 projects | news.ycombinator.com | 12 Sep 2024
    If you like this sort of thing, I strongly recommend also checking out the xonsh shell.

    It's bash-like, but Python based. Works on both Windows and Linux. Has several of the benefits mentioned in this article. It's really nice that I don't need to learn another language for shell scripting - its language is Python, with some extensions to make it less tedious (e.g. easily executing commands without using os.system or subprocess).

    Been using it since 2018.

    https://xon.sh/

  • Xonsh is a Python-powered shell
    1 project | news.ycombinator.com | 30 Aug 2024
  • Streamlining Project Automation with Makim
    4 projects | dev.to | 19 Jul 2024
    Makim extends its functionality beyond conventional script execution by supporting various interpreters and shell languages, facilitating a versatile development environment. While xonsh is the default interpreter - blending the capabilities of Bash and Python for an enriched command-line experience - Makim's architecture allows for seamless integration with other environments. For developers seeking to leverage this feature, a foundational understanding of xonsh can be beneficial. Comprehensive details and usage guidelines are available in the official xonsh documentation.
  • AIM Weekly for 10 June 2024
    23 projects | dev.to | 10 Jun 2024
  • This Week In Python
    5 projects | dev.to | 9 Mar 2024
    xonsh – Python-powered, cross-platform, Unix-gazing shell
  • FLaNK Stack Weekly 19 Feb 2024
    50 projects | dev.to | 19 Feb 2024
  • Xonsh is a Python powered shell
    1 project | news.ycombinator.com | 14 Feb 2024
  • Xonsh: Python-powered, cross-platform, Unix-gazing shell
    12 projects | news.ycombinator.com | 14 Feb 2024
    You need to downgrade ptk version. Look here - https://github.com/xonsh/xonsh/issues/5241#issuecomment-1961...
  • Google ZX – A tool for writing better scripts
    8 projects | news.ycombinator.com | 9 Feb 2024
    Friends, I'm not saying that tools like zx are not good. I do like to write some scripts using js/ts. I believe pythoners prefer https://xon.sh/ . Perl is also attractive and interesting. Fish is friendly.

    However, I still believe that posix-shell has its own advantages. The balance among size, code length, and expressiveness. I think the only possible competitors are tcl and perl, maybe lua.

What are some alternatives?

When comparing nushell and xonsh you can also consider the following projects:

fish-shell - The user-friendly command line shell.

elvish - Powerful scripting language & versatile interactive shell

ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.

starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

PowerShell - PowerShell for every system!

oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

alacritty - A cross-platform, OpenGL terminal emulator.

zx - A tool for writing better scripts

volta - Volta: JS Toolchains as Code. ⚡

oils - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?