the xonsh shell¶
Xonsh is a Python-ish, BASHwards-looking shell language and command prompt. The language is a superset of Python 3.4+ with additional shell primitives that you are used to from Bash and IPython. It works on all major systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily use of experts and novices alike.
At a glance
You can install xonsh using conda, pip, or from source.
$ conda install -c xonsh xonsh
For the bleeding edge development version use
conda -c xonsh/channel/dev xonsh
$ pip install xonsh
$ python setup.py install
Arch Linux users can install xonsh from the Arch User Repository with e.g. yaourt or aura:
$ yaourt -Sa xonsh # yaourt will call sudo when needed
$ sudo aura -A xonsh
If you run into any problems, please let us know!
Xonsh is significantly different from most other shells or shell tools. The following table lists features and capabilities that various tools may or may not share.
|Native cross-platform support||✓||✓||✓||✓|
|Meant as a shell||✓||✓||✓||✓|
|Large standard library||✓||✓||✓|
|Syntax highlighting||✓||in notebook||w/ prompt-toolkit|
|Pun in name||✓||✓||✓|
Xonsh currently has the following external dependencies,
- Python v3.4+
- prompt-toolkit (optional)
- Sphinx <http://sphinx-doc.org/> (which uses
Cloud Sphinx Theme
We highly encourage contributions to xonsh! If you would like to contribute, it is as easy as forking the repository on GitHub, making your changes, and issuing a pull request. If you have any questions about this process don’t hesitate to ask the mailing list (firstname.lastname@example.org).