2016-03-13 21:51:59 -04:00
|
|
|
==========================
|
|
|
|
OSX Guide
|
|
|
|
==========================
|
|
|
|
|
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
2016-06-05 15:48:46 -04:00
|
|
|
You can install xonsh using homebrew, conda, pip, or from source.
|
|
|
|
|
|
|
|
**homebrew:**
|
|
|
|
|
2016-08-18 14:18:57 -04:00
|
|
|
.. code-block:: console
|
2016-06-05 15:48:46 -04:00
|
|
|
|
|
|
|
$ brew install xonsh
|
|
|
|
|
2016-03-13 21:51:59 -04:00
|
|
|
|
|
|
|
**conda:**
|
|
|
|
|
2016-08-18 14:18:57 -04:00
|
|
|
.. code-block:: console
|
2016-03-13 21:51:59 -04:00
|
|
|
|
2016-06-07 10:41:08 +02:00
|
|
|
$ conda config --add channels conda-forge
|
|
|
|
$ conda install xonsh
|
2016-03-13 21:51:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
**pip:**
|
|
|
|
|
2016-08-18 14:18:57 -04:00
|
|
|
.. code-block:: console
|
2016-03-13 21:51:59 -04:00
|
|
|
|
2016-07-07 10:29:41 +02:00
|
|
|
$ pip3 install xonsh
|
2016-03-13 21:51:59 -04:00
|
|
|
|
|
|
|
|
2016-06-28 12:29:42 +08:00
|
|
|
**source:** Download the source `from github <https://github.com/xonsh/xonsh>`_
|
|
|
|
(`zip file <https://github.com/xonsh/xonsh/archive/master.zip>`_), then run
|
2016-03-13 21:51:59 -04:00
|
|
|
the following from the source directory,
|
|
|
|
|
2016-08-18 14:18:57 -04:00
|
|
|
.. code-block:: console
|
2016-03-13 21:51:59 -04:00
|
|
|
|
2016-07-07 10:29:41 +02:00
|
|
|
$ python3 setup.py install
|
2016-03-13 21:51:59 -04:00
|
|
|
|
|
|
|
|
2016-07-07 10:29:41 +02:00
|
|
|
Extras for OSX
|
|
|
|
==============
|
2016-03-13 21:51:59 -04:00
|
|
|
|
2016-07-07 10:29:41 +02:00
|
|
|
On Mac OSX, it is *strongly* recommended to install the ``gnureadline`` library if using the readline shell. ``gnureadline`` can be installed via pip:
|
2016-05-31 23:12:59 -04:00
|
|
|
|
2016-08-18 14:18:57 -04:00
|
|
|
.. code-block:: console
|
2016-05-31 23:12:59 -04:00
|
|
|
|
2016-07-07 10:29:41 +02:00
|
|
|
$ pip3 install gnureadline
|
2016-05-31 23:12:59 -04:00
|
|
|
|
2016-07-07 10:29:41 +02:00
|
|
|
Xonsh has support for using bash completion files on the shell, to use it you need to install the bash-completion package
|
2016-05-31 23:12:59 -04:00
|
|
|
|
2016-08-18 14:18:57 -04:00
|
|
|
.. code-block:: console
|
2016-05-31 23:12:59 -04:00
|
|
|
|
2016-07-07 10:29:41 +02:00
|
|
|
$ brew install bash-completion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. include:: add_to_shell.rst
|
|
|
|
|
|
|
|
.. include:: dependencies.rst
|