# Blocks Service Mesh 管理命令 为了更好的管理系统系统,BSM提供了命令行管理工具 ## 安装 ``` curl -L -o /usr/bin/bsm http://oss.apinb.com/reles/bsm/bsm-tools/bsm@v0.1.2/bsm && chmod +x /usr/bin/bsm ``` ## 参数说明 ``` [root@iZ2vcgh0poz345nuyblx9tZ ~]# bsm help Blocks Service Cli Version: v0.1.1 bsm is a Blocks Service Mesh cli. Usage: bsm [flags] bsm [command] Available Commands: check 批量检测微服务和配置并更新. completion Generate the autocompletion script for the specified shell help Help about any command install 安装一个微服务. ps 列表展示本地已经安装的微服务. restart 更新一个微服务的服务,并重启该服务. update 更新一个微服务至最新版本. Flags: -h, --help help for bsm -r, --registry string registry server url. Use "bsm [command] --help" for more information about a command. ```