Code Monkey home page Code Monkey logo

dotfiles-for-windows-11's Introduction

Dotfiles for Microsoft Windows 11

Repeatable, reboot resilient Dotfiles script to setup a development environment in Microsoft Windows 11.

Now you create and run ๐Ÿš€ Dotfiles projects for Windows 10/11 using this module for PowerShell: PSWindowsDotfiles

Usage

Open any Windows PowerShell host console (Except Windows Terminal) with administrator rights and run:

$GitHubRepositoryAuthor = "JMOrbegoso"; `
$GitHubRepositoryName = "Dotfiles-for-Windows-11"; `
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass; `
Invoke-Expression (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/${GitHubRepositoryAuthor}/${GitHubRepositoryName}/main/Download.ps1");

What does?

This dotfiles script does:

  • Install Chocolatey.
  • Configure Chocolatey to remember installation arguments for future updates.
  • Install Hack Nerd Font.
  • Install Git.
  • Configure Git.
  • Install Vim.
  • Install Vim-Plug.
  • Install Vim plugins.
  • Install Visual Studio Code.
  • Configure Visual Studio Code.
  • Install Visual Studio Code extensions.
  • Install Oh My Posh for PowerShell.
  • Configure Oh My Posh theme.
  • Install Posh-Git for Oh My Posh.
  • Install Terminal-Icons for PowerShell.
  • Configure PSWebSearch for PowerShell.
  • Configure PSReadLine for PowerShell.
  • Configure Windows Terminal.
  • Install Notepad++.
  • Configure Notepad++.
  • Install .NET SDK.
  • Enable Windows Subsystem for Linux.
  • Install Ubuntu 20.04 LTS in WSL.
    • Install curl.
    • Install Neofetch.
    • Configure Git in Ubuntu.
    • Install Visual Studio Code extensions in Ubuntu.
    • Install Volta in Ubuntu.
      • Install Node.js LTS using Volta in Ubuntu.
      • Install NPM using Volta in Ubuntu.
      • Install Yarn using Volta in Ubuntu.
      • Install TypeScript using Volta in Ubuntu.
      • Install Yarn-Upgrade-All using Volta in Ubuntu.
      • Install NestJS CLI using Volta in Ubuntu.
    • Install Golang in Ubuntu.
    • Install HUGO in Ubuntu.
    • Install Vim in Ubuntu.
    • Install Vim-Plug in Ubuntu.
    • Install Vim plugins in Ubuntu.
    • Install Zsh in Ubuntu.
    • Install Oh My Zsh in Ubuntu.
    • Install Zsh-Autosuggestions for Oh My Zsh in Ubuntu.
    • Configure Oh My Zsh in Ubuntu.
  • Install Docker Desktop.
  • Configure File Explorer:
    • Show file extensions.
    • Open file explorer to This PC.
    • Set as background option moved to extended Context Menu.
    • Disable recently opened items from JumpList.
  • Microsoft Windows optional features:
    • Disable Windows Media Player.
    • Disable Internet Explorer.
    • Disable Microsoft XPS Document Writer.
    • Disable WorkFolders Client.
    • Enable Windows Sandbox.
  • Configure Windows 11 power plan.
  • Configure Windows 11 regional format:
    • First day of week: Monday.
    • Short date: 2017-04-05.
    • Long date: Wednesday, 5 April, 2017.
    • Short time: 19:40.
    • Long time: 19:40:07.
  • Rename PC.

Windows Terminal Custom Keyboard Shortcuts

Action Keyboard Shortcut
Open New Tab ctrl+t
Close Current Pane ctrl+w
Open New Split Pane in Horizontal alt+shift+h
Open New Split Pane in Vertical alt+shift+v

Alias and functions for PowerShell & Zsh

Terminal Profile

Alias Description PowerShell Zsh
edt Edit terminal profile โœ… โœ…
src Refresh terminal profile โœ… โœ…

Directories

Alias Description PowerShell Zsh
mkcd Create folder and navigate to it โœ… โœ…
trash Open the recycle bin folder โœ…

System Maintenance

Alias Description PowerShell Zsh
updsys Update apps and system. โœ… โœ…

Environment Variables

Alias Description PowerShell Zsh
pathl List the content of PATH environment variables โœ… โœ…

Git

Alias Description PowerShell Zsh
gcb git checkout creating new branch โœ… โœ…
ga git add โœ… โœ…
gaa git add all โœ… โœ…
gsc git clone, load submodules and navigate to the repository folder โœ… โœ…
gst git status โœ… โœ…
gcmsg git commit message โœ… โœ…
ggp git push origin current_branch โœ… โœ…
glg git log โœ… โœ…
gsrlc Git soft reset last commit โœ… โœ…
ghrlc Git hard reset last commit โœ… โœ…

Vim

Alias Description PowerShell Zsh
editvim Edit .vimrc file โœ… โœ…
sourcevim Refresh Vim configuration โœ…

Docker

Alias Description PowerShell Zsh
dpl Docker pull โœ… โœ…
dlc List the Docker containers working โœ… โœ…
dlca List all the Docker containers โœ… โœ…
dli List all the Docker images โœ… โœ…
dsc Stop Docker container โœ… โœ…
drc Delete Docker container โœ… โœ…
dri Delete Docker image โœ… โœ…

NPM

Alias Description PowerShell Zsh
ngl List global NPM packages โœ…
ngo List outdated global NPM packages โœ…
ngu Update global NPM package โœ…

Yarn

Alias Description PowerShell Zsh
yi Install Yarn package โœ…
yid Install Yarn package as dev dependency โœ…
yl List all Yarn packages locally installed โœ…
ylo List outdated Yarn packages locally installed โœ…
yu Update Yarn package โœ…
yua Upgrade all Yarn packages โœ…
yr Remove Yarn package โœ…

NestJS

Alias Description PowerShell Zsh
nestnew Create a new project with NestJS โœ…

Go

Alias Description PowerShell Zsh
gmi Initialize Go modules โœ…

Web search from the console

Alias Example PowerShell Zsh
bing bing "Windows 11" โœ… โœ…
google google "Windows 11" โœ… โœ…
duckduckgo duckduckgo "Windows 11" โœ… โœ…
youtube youtube "Windows 11" โœ… โœ…
github github "Windows 11" โœ… โœ…
stackoverflow stackoverflow "Windows 11" โœ… โœ…

dotfiles-for-windows-11's People

Contributors

jmorbegoso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dotfiles-for-windows-11's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.