mirror of
https://github.com/ansible/mazer.git
synced 2026-02-05 12:45:17 +01:00
bootstrap package setup via cookiecutter Based on template from https://github.com/audreyr/cookiecutter-pypackage Changes from default template: * unpin dev requirements for now * rm 'watchdog' dev requirement and remove use from Makefile * sort requirements_dev, unpin and note bumpversion * Use 'Apache-2.0' spdx.org style licence identifier to match ansible/galaxy/setup.py. * rm docs from sdist * mv rst docs to docs/rst * add .pytest_cache to gitignore
52 lines
1.2 KiB
ReStructuredText
52 lines
1.2 KiB
ReStructuredText
.. highlight:: shell
|
|
|
|
============
|
|
Installation
|
|
============
|
|
|
|
|
|
Stable release
|
|
--------------
|
|
|
|
To install ansible-galaxy-cli, run this command in your terminal:
|
|
|
|
.. code-block:: console
|
|
|
|
$ pip install ansible_galaxy_cli
|
|
|
|
This is the preferred method to install ansible-galaxy-cli, as it will always install the most recent stable release.
|
|
|
|
If you don't have `pip`_ installed, this `Python installation guide`_ can guide
|
|
you through the process.
|
|
|
|
.. _pip: https://pip.pypa.io
|
|
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/
|
|
|
|
|
|
From sources
|
|
------------
|
|
|
|
The sources for ansible-galaxy-cli can be downloaded from the `Github repo`_.
|
|
|
|
You can either clone the public repository:
|
|
|
|
.. code-block:: console
|
|
|
|
$ git clone git://github.com/ansible/ansible_galaxy_cli
|
|
|
|
Or download the `tarball`_:
|
|
|
|
.. code-block:: console
|
|
|
|
$ curl -OL https://github.com/ansible/ansible_galaxy_cli/tarball/master
|
|
|
|
Once you have a copy of the source, you can install it with:
|
|
|
|
.. code-block:: console
|
|
|
|
$ python setup.py install
|
|
|
|
|
|
.. _Github repo: https://github.com/ansible/ansible_galaxy_cli
|
|
.. _tarball: https://github.com/ansible/ansible_galaxy_cli/tarball/master
|