Install Arthas¶
Quick installation¶
Use arthas-boot(Recommend)¶
Downloadarthas-boot.jar,Start with java command:
wget https://alibaba.github.io/arthas/arthas-boot.jar
java -jar arthas-boot.jarPrint usage:
java -jar arthas-boot.jar -hUse as.sh¶
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:
curl -L https://alibaba.github.io/arthas/install.sh | shThe 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.
You can enter its interactive interface by executing as.sh, or execute as.sh -h for more help information.
Full installation¶
Latest Version, Click To Download:
Download and unzip, find arthas-boot.jar in the directory. Start with java command:
java -jar arthas-boot.jarPrint usage:
java -jar arthas-boot.jar -hManual Installation¶
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¶
sudo dpkg -i arthas*.debInstruction for Fedora based systems¶
sudo rpm -i arthas*.rpmOffline Help Documentation¶
Uninstall¶
On Linux/Unix/Mac, delete the files with the following command:
rm -rf ~/.arthas/ rm -rf ~/logs/arthas/
On Windows, delete
.arthasandlogs/arthasdirectory under user home.