Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ndz-v/windows-dotfiles


https://github.com/ndz-v/windows-dotfiles

dotfiles dotfiles-automation dotfiles-install dotfiles-installer dotfiles-setup dotfiles-windows powershell windows

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Windows Dotfiles

![](/media/desktop.png)

## Installation

Copy this command into your elevated PowerShell instance and run it to download this repo and start the installation:

```ps1
Set-ExecutionPolicy RemoteSigned; `
New-Item -Path "$HOME\dev" -Type Directory; `
Invoke-WebRequest "https://github.com/nidzov/windows-dotfiles/archive/master.zip" `
-OutFile "$HOME\Downloads\windows-dotfiles.zip"; `
Get-ChildItem "$HOME\Downloads\" -Filter *.zip | Expand-Archive -DestinationPath "$HOME\dev" -Force; `
Rename-Item -NewName "windows-dotfiles" -Path "$HOME\dev\windows-dotfiles-master"; `
. "$HOME\dev\windows-dotfiles\Bootstrap.ps1"
```

## Explanation of the upper command

1. `Set-ExecutionPolicy RemoteSigned`

Allows execution of PowerShell scripts. Is needed for further execution and installation.

2. `New-Item -Path "$HOME\dev" -Type Directory`

Create a dev directory in the home directory for our dotfiles to be stored. The directory name can be changed, but all occurances of the directory name have to be changed in this project.
3. `Invoke-WebRequest "https://github.com/nidzov/windows-dotfiles/archive/master.zip" -OutFile "$HOME\Downloads\windows-dotfiles.zip"`

Download the repository as a zip into the Downloads directory.

4. `Get-ChildItem "$HOME\Downloads\" -Filter *.zip | Expand-Archive -DestinationPath "$HOME\dev" -Force`

Unzip to the dev directory.

5. `Rename-Item -NewName "windows-dotfiles" -Path "$HOME\dev\windows-dotfiles-master"`

Rename the unzipped folder so branch name is not in the name.

6. `& "$HOME\dev\windows-dotfiles\Bootstrap.ps1"`

Start the installation.