gpt4 book ai didi

windows - 如何写 Yes 命令作为这个问题的答案?谢谢

转载 作者:行者123 更新时间:2023-12-02 22:46:19 27 4
gpt4 key购买 nike

我绝对是编码初学者。我从 ChatGPT 获取代码来安装 Anaconda。但是,我停留在最后一步。我尝试了几乎所有可能的 yes 变体。某人可以帮助我吗?我怎么能对最后一个问题写是?谢谢。

anaconda3 v2022.10 [Approved]
anaconda3 package files install completed. Performing other installation steps.
The package anaconda3 wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint):

最佳答案

  • 回答 Chocolatey 显示的交互式提示 ,键入 [...] 中与所需选项相对应的字母,在您的情况下为 y(对于 [Y]es), 或 - 也自动确认 后续 提示, 如果有的话, 在手边的安装过程中 - a (for [A]ll - yes to all ).
    大小写无关紧要。
    Enter 提交您的选择。

  • 抑制(概念上:自动确认)确认提示,请遵循您引用的注释中的指导:

    • 对于给定的安装命令,在其命令行中添加-y 选项。
    • 永久抑制确认提示,对于所有 future 的Chocolatey安装命令,从运行以下一次性命令提升 session (以管理员身份运行):
      • choco 功能启用 -n allowGlobalConfirmation

关于windows - 如何写 Yes 命令作为这个问题的答案?谢谢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75495074/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com