# 终端（命令行工具）

您可以在 Terminal 中使用 `soulver` 命令，利用 [Soulver 的数学引擎](https://soulver.app/core) 执行计算：

```
$ soulver 6月 20日 + 3 周
11 July
```

要安装它，请前往 `Soulver > Integrations > Terminal (Command Line Interface)`。

我们在主 Soulver 应用包内的命令行工具中添加了 'soulver' 别名到 `/usr/local/bin/`。

#### 货币兑换

货币兑换使用主 Soulver 应用预下载的最新汇率支持：

```
$ soulver '$100 in EUR'
€60.46
```

请注意，如果您想在 Terminal 中使用 "$" 符号，则必须对您的表达式进行**单引号**引用。这是因为 $ 符号在命令行中用于变量扩展。

{% hint style="warning" %}
其他实时数据服务，例如天气、历史汇率、股票汇率和知识助手，**无法**从命令行工具中使用
{% endhint %}

### [独立 CLI](https://github.com/soulverteam/Soulver-CLI)

我们还提供了一个免费的独立 CLI，它不需要安装 Soulver。

最简单的安装方式是通过 homebrew：

`brew install soulver-cli`

有关此工具的更多详细信息，请参阅 [GitHub](https://github.com/soulverteam/Soulver-CLI)。

{% hint style="warning" %}
独立 CLI 也需要 Soulver Mac 应用来更新汇率。
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/zh/documentation/integrations/command-line-tool-automator-and-services.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
