# executer

> A CLI tool for remote execution of commands on servers using SSH, REST API, and Docker.

Latest version **1.0.0-beta** (published 2025-01-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install executer
pnpm add executer
yarn add executer
bun add executer
```

Provides the command `executer`.

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

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

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-beta |
| Published | 2025-01-13 |
| First published | 2024-01-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 21.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | MaxA |
| Maintainers | maxa_mm |
| Keywords | cli, ssh, rest, docker, task scheduling |

## Links

- npm: https://www.npmjs.com/package/executer
- Repository: https://github.com/maxa1412/executer
- Homepage: https://github.com/maxa1412/executer#readme
- Issues: https://github.com/maxa1412/executer/issues
- npm.io page: https://npm.io/package/executer

## Dependencies (5)

- [ssh2](https://npm.io/package/ssh2.md) ^1.16.0
- [axios](https://npm.io/package/axios.md) ^1.7.9
- [dotenv](https://npm.io/package/dotenv.md) ^16.4.7
- [commander](https://npm.io/package/commander.md) ^13.0.0
- [dockerode](https://npm.io/package/dockerode.md) ^3.3.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.0-beta (latest) — 2025-01-13
- 1.0.0 — 2024-01-13

## README

# Executer

`executer` is a CLI tool for remote command execution on servers. It supports executing commands via SSH, REST API, and within Docker containers.

## Installation

To install `executer`, you can run:

```sh
npm install executer
```

## Usage

### SSH Command

Execute a command on a remote server via SSH:

```sh
executer ssh <host> <username> <password> <command>
```

Example:

```sh
executer ssh 192.168.1.1 user password "ls -la"
```

### REST Command

Execute a command on a remote server via REST API:

```sh
executer rest <url> <method> [data]
```

Example:

```sh
executer rest https://api.example.com GET
executer rest https://api.example.com POST '{"key":"value"}'
```

### Docker Command

Execute a command within a Docker container:

```sh
executer docker <container> <command>
```

Example:

```sh
executer docker my-container "echo Hello, World!"
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

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