CLI

CLI 安装 (Strings)

文本由 Phrase Language AI 从英语机器翻译而得。

用户可在 macOS、Windows 和 Linux 上安装客户端。

在 macOS 上安装 Strings

用户可以使用 Homebrew 或下载安装客户端。

Homebrew

要使用 Homebrew 安装客户端,请使用以下 brew:

$ brew install phrase-cli

运行 brew upgrade phrase-cli 更新 Formula 或 brew upgrade 更新所有软件包。

下载

要通过下载安装,请参照以下步骤:

  1. 下载最新版本

  2. 将可执行文件放在路径中,或放在其他地方并在路径中创建指向它的符号链接。

  3. 如果需要,设置可执行标记让二进制文件可执行:

    $ cd /path/to/phrase && chmod +x phrase
  4. 运行客户端:

    $ phrase

    如果不在路径中:

    $ /path/to/phrase/phrase

Windows

要在 Windows 安装客户端,请参照以下步骤:

  1. 下载最新版本

  2. 运行安装文件。

  3. 在命令提示符下输入 Phrase 以启动客户端。

Linux

要在 Linux 安装客户端,请参照以下步骤:

  1. 下载最新版本

  2. 将可执行文件放在路径中,或放在其他地方并在路径中创建指向它的符号链接。

  3. 如果需要,设置可执行标记让二进制文件可执行:

    $ cd /path/to/phrase && chmod +x phrase
  4. 运行客户端:

    $ phrase

    如果不在路径中:

    $ /path/to/phrase/phrase

通过源代码构建客户端

在其他平台上使用支持 Go 端语言移植的用户可以从源代码构建客户端。

若您使用的是 Android Studio 或 Visual Studio,请参考 IDE 插件以在存储库和 Phrase 之间同步本地化文件。

这篇文章有帮助吗?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.