One-click Script
GuideInstallGuideLess than 1 minute
Only for Linux-x86_64/arm64 platform.
Install
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install
update
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update
Uninstall
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s uninstall
Custom path
The default installation is in /opt/alist
. To customize the installation path, add the installation path as the second parameter, which must be an absolute path (if the path ends in alist, install directly to the given path, otherwise it will be installed in the given path alist Directory), such as installing to /root
:
# Install
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install /root
# update
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update /root
# Uninstall
curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s uninstall /root
- Start:
systemctl start alist
- Shut down:
systemctl stop alist
- Status:
systemctl status alist
- Restart:
systemctl restart alist