# payara-script

> A utility package for managing Payara Server versions.

Latest version **2.1.0** (published 2021-02-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install payara-script
pnpm add payara-script
yarn add payara-script
bun add payara-script
```

Provides the commands `payara`, `asadmin`.

## 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 | 2.1.0 |
| Published | 2021-02-17 |
| First published | 2019-11-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 45.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Matt Gill |
| Maintainers | mattgill |
| Keywords | cli, Payara |

## Links

- npm: https://www.npmjs.com/package/payara-script
- Repository: https://github.com/MattGill98/payara-script
- Homepage: https://github.com/MattGill98/payara-script#readme
- Issues: https://github.com/MattGill98/payara-script/issues
- npm.io page: https://npm.io/package/payara-script

## Dependencies (10)

- [ncp](https://npm.io/package/ncp.md) ^2.0.0
- [rmfr](https://npm.io/package/rmfr.md) ^2.0.0
- [tail](https://npm.io/package/tail.md) ^2.0.3
- [yargs](https://npm.io/package/yargs.md) ^14.0.0
- [request](https://npm.io/package/request.md) ^2.88.0
- [configstore](https://npm.io/package/configstore.md) ^5.0.0
- [find-process](https://npm.io/package/find-process.md) ^1.4.2
- [mvn-artifact-url](https://npm.io/package/mvn-artifact-url.md) ^4.0.0
- [progress-extract](https://npm.io/package/progress-extract.md) ^1.0.2
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.3

## 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

- 2.1.0 (latest) — 2021-02-17
- 2.0.4 — 2020-07-03
- 2.0.3 — 2020-04-02
- 2.0.2 — 2020-03-13
- 2.0.1 — 2020-02-04
- 2.0.0 — 2020-01-15
- 1.3.0 — 2019-12-19
- 1.2.2 — 2019-11-19
- 1.2.1 — 2019-11-11
- 1.2.0 — 2019-11-11
- 1.1.1 — 2019-11-07
- 1.0.0 — 2019-11-04

## README

# Payara Script

This command line utility is intended to help with starting and administrating Payara server versions, as well as installing them from maven central or Nexus.

## Quick Start

Install a Payara version:

~~~
bash> payara install 5.191
~~~

Configure the active Payara version:

~~~
bash> payara set 5.191
~~~

Start Payara Server:

~~~
bash> payara start
~~~

Monitor the server log:

~~~
bash> payara log
~~~

## Installing Versions From Nexus

First, configure your nexus username and password:

~~~
bash> payara set username myusername
bash> payara set password mypassword
~~~

Then, install the patched version:

~~~
bash> payara install 5.191.8
~~~

## Killing Payara

To kill all running Payara instances, run:

~~~
bash> payara kill
~~~

## Resetting the Payara installation

If you want to reset the running Payara version to a clean installation, run:

~~~
bash> payara reset
~~~

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