php,

Install 'ps' command on Alpine Linux

Jun 11, 2023 · 1 min read · Post a comment

If you are trying to list the processes inside the Alpine Linux and the ps command does not exist then you need to install it. Let’s see how to install ps on Alpine Linux.

Prerequisites

  • Alpine Linux
  • sudo privileges

Install ps on Alpine Linux

Step 1. Update and upgrade the Alpine system packages.

apk update && apk upgrade

Step 2. Install ps:

sudo apk add procps

Step 3. Verify installation.

ps aux

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.