小编tac*_*yon的帖子

为什么 Windows 11 PowerShell 或终端缺少 Linux 命令行工具?

我使用的是Windows 11。在终端中,常用的Linux命令不可用。因此,诸如chmodvim之类的命令会返回如下命令行错误:

vim : The term 'vim' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vim ~/.bashrc
+ ~~~
    + CategoryInfo          : ObjectNotFound: (vim:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)

我怎样才能解决这个问题?我时隔十年才使用 Windows,请多多包涵!

terminal powershell command-line windows-11

6
推荐指数
2
解决办法
9865
查看次数

标签 统计

command-line ×1

powershell ×1

terminal ×1

windows-11 ×1