Code Monkey home page Code Monkey logo

powershell's Introduction

PowerShell Dotfiles

Back To Windows-Dotfiles <- (For Detailed Setup)

Dependencies ๐Ÿ“ƒ

  • Git >= 2.19.0 (for partial clones support)

  • Nerd Fonts >= 3.0

Contents ๐Ÿ“ฆ

  • Powershell Configuration

Font ๐Ÿ–Œ๏ธ

Theme ๐ŸŽญ

Terminal ๐Ÿ“Ÿ

Shell ๐Ÿ›ก๏ธ

Setup โš’๏ธ

Package Managers ๐Ÿ“ฆ
  • Python - winget install python - pip

  • Rust - winget install Rustlang.Rust.GNU - cargo

  • Scoop - irm get.scoop.sh | iex - scoop

  • NVM | NodeJS - npm

winget install CoreyButler.NVMforWindows
nvm install lts
nvm use lts
Winget - Windows Installed
  • Git - winget install Git.Git
  • Sudo & Jq - winget install gsudo jqlang.jq
  • SQLite & MySQL - winget install SQLite.SQLite
  • Neovim - winget install Neovim
  • Oh-My-Posh - winget install JanDeDobbeleer.OhMyPosh -s winget
  • Yarn - winget install Yarn.Yarn
  • Make - winget install GnuWin32.Make
  • Fzf - winget install fzf
  • Bat - winget install sharkdp.bat
  • LazyDocker - winget install lazydocker
  • NTop - winget install ntop
  • RipGrep - winget install BurntSushi.ripgrep.MSVC
  • LazyGit - winget install lazygit
Scoop - Needs Installation
Cargo - Needs Installation
Powershell - Powershell Installed
  • PSFzf - Install-Module -Name PSFzf
  • Posh-Git - Install-Module posh-git -Scope CurrentUser
  • Terminal-Icons - Install-Module -Name Terminal-Icons -Repository PSGallery -Force
  • PSReadLine - Install-Module PSReadLine -AllowPrerelease -Force
  • Z Directory - Install-Module -Name z
NodeJS - Needs Installation
npm install -g commitizen
npm install -g cz-conventional-changelog

In Your Home Folder:
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc

Directory Structure ๐Ÿ—‚๏ธ

๐Ÿ“‚$HOME/.config/PowerShell
|__๐Ÿ“‚themes
|   |__๐Ÿ“„minimalNight.omp.json
|__๐Ÿ“„user_profile.ps1

Languages ๐Ÿ—ฃ๏ธ

Completion, Format, Compiler, and Linter

Servers ๐Ÿ—ƒ๏ธ

Winget - Windows Installed

C++ winget install clangd

Lua winget install lua-language-server

NodeJS - Needs Installation

Live-Server npm install -g live-server

Python npm install -g pyright

Typescript npm install -g typescript typescript-language-server

Tailwind CSS npm install -g tailwindcss-language-server

Dotnet - Windows Installed

C-Sharp dotnet tool install --global csharp-ls

Format Languages ๐Ÿ“„

C++ at the setup of llvm

Pip - Needs Installation

Python pip install --upgrade autopep8

NodeJS - Needs Installation

Marksman npm install -g marksman

Typescript npm install -g prettier

Compilers And Intrepeters โš™๏ธ

Winget - Windows Installed
  • Python - At the installation of Python Package Manager

  • Rust - At the installation of Rust Package Manager

  • C++ - winget install -i LLVM.LLVM

NodeJS - Needs Installation
  • NodeJS - At the installation of NodeJS Package Manager
Debugging ๐Ÿž

Problem: Icons are not showing completly

Fix:

Some fonts do not work well with some color themes and can cause that issue or the terminal.
You have to try until you find the right font, switch the theme, terminal or make tweaks by yourself. Generaly fonts ending with mono work.

Problem: C-Sharp not running

Fix: You are required to create a project for it to work

Problem: Customize format

Fix:

Look for the documentation to make the changes on the CLI.

For clang-format: https://clang.llvm.org/docs/ClangFormat.html
For prettier: https://prettier.io/docs/en/options.html#vue-files-script-and-style-tags-indentation

Problem: Commitizen opening editor instead of commit options

Fix:

Friendly setup for commitizen globally:
npm install -g commitizen cz-conventional-changelog && echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc

Problem: Scoop buckets wont update

Fix:

scoop config SCOOP_BRANCH master
scoop update

Problem: C++ compiler not working

Fix:

When installing LLVM choose add to path.
Also be use to be using clang if you are using LLVM

powershell's People

Contributors

andrem222 avatar

Watchers

 avatar

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.