Skip to content

UpdateCommand/update-for-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Update command scripts for PowerShell

Want to update your computer software by using PowerShell scripts?

When you run the command update.ps1, then the command will run scripts to do software updates and upgrades:

  • Windows: scoop for the Scoop packager, choco for Chocolately, etc.
  • tooling: Node npm, Python pip, Rust cargo, Ruby gem, Atom apm, etc. [TODO]
  • source code management: git pull, hg pull, etc. [TODO]
  • any of your own custom scripts, before and after everything else. [TODO]

Install

Clone the repo to your own system:

git clone https://github.com/UpdateCommand/update-for-powershell.git $HOME/update-for-powershell

Add the bin directory to your own path:

$Env:PATH += ";[HOME]\update-for-powershell\bin"

Where [HOME] is a placeholder for your home directory, you need to replace it manually. Usually, its value is C:\Users\[USER_NAME] ([USER_NAME] is another placeholder, type your username there)

To set the path persistently, go to the "Edit your user Environment Variables" GUI, and add the entry in your user PATH

Copy the config directory to your own directory:

cp -R ~/update/config/update ~/.config/update

Run the script (.ps1 is optional, usually):

update.ps1

What's included

This project is intended for update scripts for tools, systems, package managers, language modules, et. al.

We welcome more scripts.

Tracking

  • Package: update-for-powershell
  • Version: 1.0.0
  • Created: 2022-07-15T02:58:17Z
  • Updated: 2022-07-16T21:47:38Z
  • License: GPL-2.0-or-later or contact us for custom
  • Contact: Joel Parker Henderson (https://joelparkerhenderson.com)

About

Update command for PowerShell by Microsoft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •