Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Custom CLI Tools

Featured Replies

This is the support thread for Custom CLI Tools.

Custom CLI Tools brings Linux programs and scripts to the command line of your Unraid server. Upload a Linux program, an AppImage, a shell or Python script, or a program that comes as an archive with several files (e.g. ffmpeg or Java, they need their own libraries), and its commands work in every terminal and in your scripts. Unraid forgets anything you install by hand at the next reboot, these commands come back every time. No more installing a separate plugin for every small program, any of them can be added here and updated at any time. Python scripts need Python on the server, e.g. from the Python Toolkit plugin.

The plugin also keeps your tools up to date with a click or on a schedule. Commands that are too long or hard to remember get a short name of your own as a Custom Command (basically an alias), e.g. myserver for ssh [email protected] or find-bigfiles for find /mnt/user -type f -size +10G -mtime -30 -exec ls -lh {} +.

GitHub Repository: unraid.custom.cli.tools

More screenshots are on GitHub.
overview.png

Main Features:

- Programs as Commands: Upload a program or script and it works as a terminal command, nothing to install or set up

- Survives Reboots: Every command is back after a restart

- Tool Bundles: Programs that come as a whole folder, like ffmpeg or Java, with all their commands and libraries

- Checks: Files that cannot run on your server are flagged before they are added

- Environment Variables: Optional per tool, e.g. to keep the settings and data of a program safe from reboots and updates

- Updates: With one click or on a schedule, from GitHub and similar sites or the program itself

- Update Scripts: Your own commands before and after an update, e.g. to stop and restart a service

- Custom Commands: A short name for a long command or a small script

- Tags and Search: Keep many tools organized with tags, notes and nicer names

- Backup: Export your setup and bring it back on the same or another server

- And much more

The Help/Manual button explains every feature in great detail. It is very long, so learning by doing is usually quicker: the screenshots in the GitHub repository show how real tools are set up and are a good starting point. Whenever something is unclear, click the circled question mark next to it, it jumps straight to the matching part of the help.

Reporting a problem:

Please describe the exact steps to reproduce the problem, add your Unraid version and, if possible, logs or screenshots of the error. For a command that does not work, the reason is listed in the details of the tool. You can also reach me on Discord: Kurotaku.

Notes:

- A good place for your tools is a folder on the cache, e.g. /mnt/cache/system/custom_cli_tools, so no disk has to spin up. The boot drive only works when Unraid boots from an internal drive.

- Commands that Unraid or other plugins bring along are never replaced.

- Uninstalling removes all commands, your settings and tool files stay.

- Requires Unraid 6.9 or newer. The design is built on the styles of Unraid 7.2+, older versions may miss some colors and borders.

Edited by Kurotaku

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.