LoginSignup
0
0

More than 1 year has passed since last update.

AlmaLinuxにPowerShellをインストールする

Posted at

はじめに

PowerShellのインストール方法は、直接ダウンロードする方法と、リポジトリを追加してパッケージインストールする方法があるようです。
今回は、パッケージインストールする方法を記載します。

PowerShellのインストール

リポジトリを追加

# curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo

インストール

# dnf install --assumeyes powershell

実行コマンド

# pwsh
PowerShell 7.2.6
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS /root> 

PS /root>が表示されたら、PowerShellのコンソールを操作できる状態。

参考サイト

サポートバージョン

インストール方法

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0