Listed in
Python Integration
Xonsh allows the use of Python throughout the shell session, enabling powerful scripting, access to Python libraries, and seamless integration with Python code.
Extensible
Due to its foundation in Python, xonsh is highly extensible and customizable, allowing users to create plugins or modify the shell's behavior to suit their needs.
Unified Environment
Xonsh provides a unified environment for both command-line operations and Python scripting, reducing the need to switch contexts and improving workflow efficiency.
Cross-Platform
Xonsh runs on multiple operating systems, including Windows, macOS, and Linux, providing a consistent shell experience across different platforms.
Rich Features
Xonsh offers features like syntax highlighting, auto-completion, and history search, which enhance productivity and make the shell more user-friendly.
If you are looking for a shell that offers a blend of Python scripting power and traditional shell functionality, xonsh is a good option. Its flexibility and ease-of-use make it a strong choice for those who frequently work with both Python and shell commands.
We have collected here some useful links to help you find out if the xonsh shell is good.
Check the traffic stats of the xonsh shell on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of the xonsh shell on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of the xonsh shell's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of the xonsh shell on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about the xonsh shell on Reddit. This can help you find out how popualr the product is and what people think about it.
Https://fishshell.com/ https://xon.sh/ https://www.nushell.sh/ https://elv.sh/ You're replying to someone that says POSIX shells are holding people back, not that the terminal is a bad idea, there are many alternative shells which offer benefits over POSIX shells. fish-shell has everything you want from an interactive shell included, xonsh is a mix Python shell, nushell and elvish are adding types and other things... - Source: Hacker News / 8 months ago
Well if you want a python/shell hybrid there's always xonsh (https://xon.sh/). Really great in particular for people like me who are bash-challenged. I do like Nushell too but I also always had problems remembering the actual language. - Source: Hacker News / 8 months ago
Xonsh is perfect for this: https://xon.sh. - Source: Hacker News / 9 months ago
> Maybe to use as a better Bash? If you know Python, just switch to xonsh (https://xon.sh/). I've been using it as my primary shell since 2018. - Source: Hacker News / 10 months ago
I like the point raised by the author here about the power of elisp in the shell. For context, I've used emacs for well over a decade and write a good bit of elisp most weeks. However, I ended up finding elisp to be the wrong language for replacing a shell: it removes a lot of capabilities for not enough reward, imo: it's just the wrong abstraction because elisp's most natural transformations are very stateful and... - Source: Hacker News / about 1 year ago
(Not sure about the equivalent of shlex.quote, but in the worst case, you can just use "from shlex import quote as q" or something). So yes, there are good alternatives to bash - even Python based. [0] https://xon.sh/. - Source: Hacker News / over 1 year ago
> Wondering what others have found to address this. Or if they just stuck with Bash, since it's just not going away anytime soon. If you're familiar with Python, give xonsh (https://xon.sh/) a go. It's a Bash-like shell but the syntax is Python. It has the same ease of writing shell scripts as Bash does, sans the insane language. Been using it since 2018. - Source: Hacker News / over 1 year ago
Also, do consider xonsh.[1] It's a Bash-like shell written in Python. It has significant overlap with the awesomeness of fish, and has the advantage of being able to write your shell scripts in a Python dialect. So if you know Python, the mental burden is much lower. On top of that, it's cross platform, since Python is. No WSL needed. I switched to it in 2018 and haven't looked back. Originally it was just because... - Source: Hacker News / over 1 year ago
No xonsh? (https://xon.sh/) Seems to hit most of the requirements. Been happily using it since 2018. It's great not to have to learn a whole other language just to do scripting. - Source: Hacker News / almost 2 years ago
Interesting thought experiment. Reminds me of my cousin's project Xonsh https://xon.sh/. - Source: Hacker News / almost 2 years ago
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... - Source: Hacker News / almost 2 years ago
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... - Source: dev.to / about 2 years ago
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. - Source: Hacker News / over 2 years ago
Sorry for the hijack, but I've been using xonsh[1] since 2018. It's a shell with Python syntax. If you dislike Bash scripting, and know Python, please consider this! [1] https://xon.sh/. - Source: Hacker News / almost 3 years ago
Those of you who use (or used) this as your shell: care to share your experience? It seems a lot less full-featured than https://xon.sh/, but maybe you don't need a lot of bells and whistles for regular usage. I mostly run build, execute, and install commands. I'm somewhat enticed at the possibility of being able to wrap common executables into forms that are typed (like nushell or elvish) and manipulate them in a... - Source: Hacker News / almost 3 years ago
In that case, is it even more similar to xonsh? https://xon.sh/. - Source: Hacker News / almost 3 years ago
Not to hijack, but also consider xonsh[1]. It's Python based, and all your scripts can be Python (or hybrid-Python). I've been using it for both Windows and Linux for over 5 years. [1] https://xon.sh/. - Source: Hacker News / about 3 years ago
I've been eyeing https://xon.sh/ (haven't written much in it though), as it seems to solve my biggest issue when writing scripts in python - the unwieldiness of calling external programs and piping their results. Source: over 3 years ago
Better than PowerShell, but not bash-wards compatible makes it not a great choice for me. Waiting for Python12 and going to try xonsh again. Python native and bash-wards compatible 🤯. Source: over 3 years ago
Xonsh. It's like having your shell extended with Python. One-liners are a lot like normal shell, but for anything complicated, Bash is not really a sane language. Source: over 3 years ago
Or go with full blown python shell with xonsh. Source: over 3 years ago
Do you know an article comparing the xonsh shell to other products?
Suggest a link to a post with product alternatives.
Is the xonsh shell good? This is an informative page that will help you find out. Moreover, you can review and discuss the xonsh shell here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.