You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/site/docs/en/doc/install-detail.md

91 lines
2.1 KiB
Markdown

# Install Arthas
7 years ago
## Quick installation
### Use `arthas-boot`(Recommended)
Download`arthas-boot.jar`Start with `java` command:
```bash
curl -O https://arthas.aliyun.com/arthas-boot.jar
6 years ago
java -jar arthas-boot.jar
```
Print usage:
```bash
6 years ago
java -jar arthas-boot.jar -h
```
### Use `as.sh`
7 years ago
You can install Arthas with one single line command on Linux, Unix, and Mac. Pls. copy the following command and paste it into the command line, then press _Enter_ to run:
7 years ago
```bash
curl -L https://arthas.aliyun.com/install.sh | sh
7 years ago
```
The command above will download the bootstrap script `as.sh` to the current directory. You can move it to any other place you want, or put its location in `$PATH`.
7 years ago
You can enter its interactive interface by executing `as.sh`, or execute `as.sh -h` for more help information.
7 years ago
## Full installation
7 years ago
Latest Version, Click To Download: [![](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square "Arthas")](https://arthas.aliyun.com/download/latest_version)
7 years ago
Download and unzip, find `arthas-boot.jar` in the directory. Start with `java` command:
7 years ago
```bash
6 years ago
java -jar arthas-boot.jar
7 years ago
```
Print usage:
7 years ago
```bash
6 years ago
java -jar arthas-boot.jar -h
```
## Manual Installation
7 years ago
[Manual Installation](manual-install.md)
7 years ago
## Installation via Packages
Arthas has packages for Debian and Fedora based systems.
you can get them from the github releases page https://github.com/alibaba/arthas/releases.
### Instruction for Debian based systems
```bash
sudo dpkg -i arthas*.deb
```
### Instruction for Fedora based systems
```bash
6 years ago
sudo rpm -i arthas*.rpm
```
### Usage
After the installation of packages, execute
```bash
as.sh
```
7 years ago
## Offline Help Documentation
Latest Version Documentation, Click To Download:[![](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square "Arthas")](https://arthas.aliyun.com/download/doc/latest_version)
7 years ago
7 years ago
## Uninstall
- On Linux/Unix/Mac, delete the files with the following command:
7 years ago
```bash
rm -rf ~/.arthas/
rm -rf ~/logs/arthas/
```
7 years ago
- On Windows, delete `.arthas` and `logs/arthas` directory under user home.