Ubuntu:安装Powershell

Powershell的安装与使用:

1)安装Powershell:在终端依次运行以下命令即可:

$ sudo apt-get update
$ sudo apt-get install -y wget apt-transport-https software-properties-common
$ wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb"
$ sudo dpkg -i packages-microsoft-prod.deb
$ sudo apt-get update
$ sudo apt-get install -y powershell

2) 使用powershell:在终端输入pwsh,即可使用~

pwsh

参考:在Linux中开始使用PowerShell[新手指南] - 知乎

相关推荐

  1. vs 开发者powershell安装git

    2023-12-06 15:42:03       31 阅读
  2. PowerShell数组

    2023-12-06 15:42:03       13 阅读

最近更新

  1. TCP协议是安全的吗?

    2023-12-06 15:42:03       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-06 15:42:03       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-06 15:42:03       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-06 15:42:03       20 阅读

热门阅读

  1. Unity - yield return相关用法

    2023-12-06 15:42:03       35 阅读
  2. 基于UDP网络聊天室OICQ

    2023-12-06 15:42:03       37 阅读
  3. 在macOS上使用Homebrew安装PHP的完整指南

    2023-12-06 15:42:03       33 阅读
  4. Backend - Python 序列化

    2023-12-06 15:42:03       34 阅读
  5. 还记得当初自己为什么选择计算机?

    2023-12-06 15:42:03       35 阅读
  6. Linux学习

    2023-12-06 15:42:03       37 阅读