安装图易斯特
Tuist CLI 由可执行文件、动态框架和一组资源(例如模板)组成。尽管您可以从源代码手动构建 Tuist,,但我们建议您使用以下安装方法之一,以确保安装有效。
Mise
INFO
如果你是一个团队或组织,需要确保不同环境下工具版本的确定性,那么 Mise 是Homebrew的推荐替代方案。
您可以通过以下任意命令安装 Tuist:
bash
mise install tuist # Install the current version specified in .tool-versions/.mise.toml
mise install [email protected] # Install a specific version number
mise install tuist@3 # Install a fuzzy version number请注意,与 Homebrew 等在全局范围内安装和激活单个版本的工具不同,Mise 需要在全局范围内或在项目范围内激活一个版本 。具体方法是运行mise use :
bash
mise use [email protected] # Use tuist-x.y.z in the current project
mise use tuist@latest # Use the latest tuist in the current directory
mise use -g [email protected] # Use tuist-x.y.z as the global default
mise use -g tuist@system # Use the system's tuist as the global defaultHomebrew
bash
brew tap tuist/tuist
brew install --formula tuist
brew install --formula [email protected]VERIFYING THE AUTHENTICITY OF THE BINARIES
您可以运行以下命令来验证您的安装二进制文件是否已由我们构建,该命令将检查证书团队是否为U6LC622NKF :
bash
curl -fsSL "https://docs.tuist.dev/verify.sh" | bash