Steam/zh: Difference between revisions
Created page with "要在 shell 环境中临时使用 Steam 相关工具,例如 <code>steam-run</code>(用于 FHS 环境)或 <code>steamcmd</code>(用于服务器管理或 steam-tui 设置等工具),可以运行以下命令。" Tags: Mobile edit Mobile web edit |
Created page with "这样就可以在当前 shell 中使用这些工具,而无需将其添加到系统配置中。为了使 <code>steamcmd</code> 能够正确执行某些任务(例如初始化 steam-tui),您可能需要运行一次 steamcmd 来生成必要的文件,如 `steam-tui` 部分所示。" |
||
| Line 14: | Line 14: | ||
nix-shell -p steamcmd # For steamcmd | nix-shell -p steamcmd # For steamcmd | ||
</syntaxhighlight> | </syntaxhighlight> | ||
这样就可以在当前 shell 中使用这些工具,而无需将其添加到系统配置中。为了使 <code>steamcmd</code> 能够正确执行某些任务(例如初始化 steam-tui),您可能需要运行一次 steamcmd 来生成必要的文件,如 `steam-tui` 部分所示。 | |||
<span id="System_setup"></span> | <span id="System_setup"></span> | ||