# hexagon-cli

> Hexo theme and package manager

Latest version **1.2.2** (published 2022-07-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install hexagon-cli
pnpm add hexagon-cli
yarn add hexagon-cli
bun add hexagon-cli
```

Provides the commands `hexa`, `hexagon`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2022-07-22 |
| First published | 2016-11-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 (+8 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 56 |
| Author | Adam Siwiec |
| Maintainers | adamsiwiec |

## Links

- npm: https://www.npmjs.com/package/hexagon-cli
- Repository: https://github.com/adamsiwiec/hexagon
- Homepage: https://github.com/adamsiwiec/hexagon#readme
- Issues: https://github.com/adamsiwiec/hexagon/issues
- npm.io page: https://npm.io/package/hexagon-cli

## Dependencies (7)

- [ora](https://npm.io/package/ora.md) ^3.4.0
- [colors](https://npm.io/package/colors.md) ^1.3.3
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.3
- [has-yarn](https://npm.io/package/has-yarn.md) ^2.1.0
- [node-cmd](https://npm.io/package/node-cmd.md) ^3.0.0
- [commander](https://npm.io/package/commander.md) ^2.20.0
- [simple-git](https://npm.io/package/simple-git.md) ^1.117.0

## Recent versions

- 1.2.2 (latest) — 2022-07-22
- 1.2.0 — 2017-10-20
- 1.1.4 — 2017-10-20
- 1.1.2 — 2017-03-25
- 1.1.1 — 2017-01-08
- 1.1.0 — 2017-01-08
- 1.0.1 — 2016-11-30
- 1.0.0 — 2016-11-30
- 0.3.0 — 2016-11-26
- 0.2.0 — 2016-11-15
- 0.1.0 — 2016-11-13
- 0.0.2 — 2016-11-13

## README

<h1 align="center">
<img  width = "280" height = "210"  src="https://s13.postimg.org/qd8bbi0mv/d41dc22748c_1.png" alt="hexagon">
</h1>

# Hexagon
[![Code Climate](https://codeclimate.com/github/adamsiwiec/hexagon/badges/gpa.svg)](https://codeclimate.com/github/adamsiwiec/hexagon) [![npm](https://img.shields.io/npm/dt/hexagon-cli.svg)](https://npmjs.com/package/hexagon-cli) ![npm](https://img.shields.io/npm/v/hexagon-cli.svg) ![npm](https://img.shields.io/npm/l/hexagon-cli.svg) ![npm](https://david-dm.org/adamsiwiec/hexagon.svg) ![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)

A package manager for Hexo.


## Prerequisites

* NodeJS
* Git


## Getting Started

Install:

`$ npm install -g hexagon-cli`

You can use it by running:

```bash
$ hexagon --help

# or

$ hexa --help # For the minimalists out there
```

## Usage

![usage_gif](http://i.imgur.com/N8skcKH.gif)

For Hexagon to work properly, make sure you are in your project's root directory.

To install a plugin:
* Pass the `-p or --plugin` flag or just `plugin`
* Pass the npm package[s] name

```bash
$ hexagon --plugin hexo-generator-github
$ hexagon -p hexo-generator-github
$ hexagon plugin hexo-generator-github
```


To install a theme:
* Pass the `-t or --theme` flag or just `theme`
* Pass the Github abbreviation, e.g `adamsiwiec/hexagon-theme`

```bash
$ hexagon --theme adamsiwiec/hexagon-theme
$ hexagon -t adamsiwiec/hexagon-theme
$ hexagon theme adamsiwiec/hexagon-theme
```

To list all themes and plugins

    $ hexagon list


For more commands:

    $ hexagon --help


## Contributing

Please submit Issues or Pull Requests to continue the development of Hexagon

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [NPM site](https://www.npmjs.com/package/hexagon-cli) or the [releases](https://github.com/adamsiwiec/hexagon/releases).

## Authors

* **[Adam Siwiec](https://github.com/adamsiwiec)** - *Initial work*, [Website](https://siwiec.us)

See also the list of [contributors](https://github.com/adamsiwiec/hexagon/contributors) who participated in this project.

## License

This project is licensed under the MIT License

---
_Source: https://npm.io/package/hexagon-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
