Split up requirements and install stuff for nvim

This commit is contained in:
Zackarias Montell
2025-05-15 12:23:23 +02:00
parent 37b0e5ff58
commit 2751758fc5
2 changed files with 43 additions and 21 deletions

View File

@@ -1,5 +1,40 @@
# Install requirements via winget
# Important stuff
$packages = @(
"wez.wezterm", # Teminal emulator
"neovim.neovim"
"Schniz.fnm", # Fast node version manager
"microsoft.teams",
"putty.putty",
"microsoft.windowsterminal",
"microsoft.git",
"jandedobbeleer.ohmyposh",
"microsoft.powershell",
"chocolatey.chocolatey", # nvim
"Python.Python.3.13", # nvim
"JernejSimoncic.Wget", # nvim
"7zip.7zip", # nvim
"zig.zig"
)
foreach ($package in $packages) {
winget install $package
}
# Install latest node LTS
fnm install 22
fnm use 22
cd ~
npm install # mostly nvim deps
## Nvim requirements from choco, needs to be run as admin
Start-Process pwsh -Verb RunAs -ArgumentList "-Command", "choco install make unzip ripgrep"
Exit
# extras, make flag for these
$packages = @(
"Schniz.fnm", # Fast node version manager
@@ -8,7 +43,6 @@ $packages = @(
"microsoft.teams",
"putty.putty",
"microsoft.windowsterminal",
"git.git",
"mozilla.firefox",
"Microsoft.VisualStudio.2022.Community",
"JetBrains.Resharper",
@@ -22,7 +56,7 @@ $packages = @(
"yubico.authenticator",
"microsoft.powershell",
"Postman.Postman",
"docker.dockerdesktop",
"docker.dockerdesktop"
)
# Iterate through each package and install it
@@ -30,17 +64,3 @@ foreach ($package in $packages) {
winget install $package
}
# Install latest node LTS
fnm install 22
fnm use 22
npm install -g @vue/typescript-plugin@2.2.10 # for nvim
# Add choco install here
choco install make unzip ripgrep # for nvim
winget install Python.Python.3.13 # nvim
winget install JernejSimoncic.Wget # nvim
winget install 7zip.7zip # nvim