
支持的存储
一键脚本
仅支持 Linux-x86_64/aarch64 平台。
安装
curl -fsSL "https://nn.ci/alist.sh" | bash -s install
DANGER
已经安装过再次执行安装会删除之前的数据,更新请使用更新命令。

更新
curl -fsSL "https://nn.ci/alist.sh" | bash -s update
卸载
curl -fsSL "https://nn.ci/alist.sh" | bash -s uninstall
自定义路径
默认安装在 /opt/alist
,要自定义安装路径,添加安装路径为第二个参数,必须是绝对路径(路径以 alist 结尾时直接安装到给定路径,否则会安装在给定路径 alist 目录下),如安装到 /root
:
# 安装
curl -fsSL "https://nn.ci/alist.sh" | bash -s install /root
# 更新
curl -fsSL "https://nn.ci/alist.sh" | bash -s update /root
# 卸载
curl -fsSL "https://nn.ci/alist.sh" | bash -s uninstall /root
管理命令
- 启动:
systemctl start alist
- 关闭:
systemctl stop alist
- 自启:
systemctl enable alist
- 状态:
systemctl status alist
- 重启:
systemctl restart alist
手动安装,Docker 安装已经更详细配置看官方
https://alist-doc.nn.ci/