Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krokofant/ps-install-if-missing
Install a powershell module if it's not already installed
https://github.com/krokofant/ps-install-if-missing
powershell powershell-module scoop
Last synced: about 10 hours ago
JSON representation
Install a powershell module if it's not already installed
- Host: GitHub
- URL: https://github.com/krokofant/ps-install-if-missing
- Owner: krokofant
- Created: 2019-01-09T08:58:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-28T22:37:10.000Z (over 5 years ago)
- Last Synced: 2023-05-23T12:37:05.935Z (over 1 year ago)
- Topics: powershell, powershell-module, scoop
- Language: PowerShell
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 👾 PS Install If Missing
Make sure that your dependent PSModules are installed.
## Usage
```powershell
Install-IfMissing posh-git
```## Installation
### 1. Install scoop
```powershell
set-executionpolicy remotesigned -s currentuser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
```### 2. Install the [powershell bucket](https://github.com/krokofant/scoop-powershell-bucket)
```powershell
scoop bucket add powershell-tools https://github.com/krokofant/scoop-powershell-bucket.git
```### 3. Install PS-Install-If-Missing
```powershell
scoop install PS-Install-If-Missing
```