In commun usage, a scoop is any specialized spoon used to serve food.
In windows scoop is a command-line installer for Windows, you dont have to click the next button and google your way in finding the installer of a common app.
A developer todays installs tons of dependencies to build something that meets the users demand.
Installation
Every windows 10 and 11 nowadays have the basic scoop requirements
- Run powershell
- Paste the following command
if your account is an administrator please follow this link
- If anything goes well you can close your powershell window
- Before proceeding please uninstall nodejs, windows terminal or vscode as scoop will not uninstall it for you
- Scoop application lives in your home folder e.g
C:/Users/youraccount/scoop/
Apps to be installed for common JS Development
The provided links are their repositories, we are devs not animals If you went through all the links you can read things about how to install them
- Git an open source distributer version control system
- Windows Terminal a terminal with tabs
- Vistual Studio Code a text editor
- NVM(Node Version Manager) like scoop it manages node versions for you
- Pwsh A new version of powershell
Now run cmd
or powershell
After installation please use your new windows terminal
Installing nodejs with nvm
If you need a specific version of nodejs follow this link
After installing node lets activate a certain version
If you are looking for the context menu where you open windows terminal or vscode on a certain folder install-context.reg
is provided for you at e.g for windows terminal C:\Users\yourname\scoop\apps\windows-terminal\current
C:\Users\yourname\scoop\apps\pwsh\current
same goes for vscode just look at the current folder of a certain app
I personally use pnpm to handle my node packages on projects dont ask me why go here
A scoop update pnpm
wont work if pnpm installed a global package at this point pnpm manages its own version
I also use a nerd-font called FiraCode
For more Scoop
packages search here even winrar is there but ffs use 7-zip it can also unrar a rar file.
Visual Studio Code
Depending on the framework or library you are using there are some useful extensions you can use
Please refer to the official docs on how to install extensions and tools for your convinience.
Personally i use the following
- Tokyo Night Storm as my theme
- file-icons
- Prettier
- ESLint
Its a swarm of extensions so be aware of what you are installing
A quick note
- Only Install what you need
- Use an official extension for a framework or workflow you need
A good example is for svelte the officials ones have a ✔️
Testing your environment
In this exercise we are gonna scaffold a SvelteKit project
- Open your windows terminal the default directory where it hopens is where your home directory is
C:\Users\yourusername
- Create a Projets folder and go into into that directory
- Create a SvelteKit app
Prompts use enter to select the option space for multi selection and arrow keys for navigation
- Where should we create your project? give a directory name where your project source code will be created at
- Which Svelte app template? Either a Skeleton Project for app development
- Add type checking with TypeScript? either use JS with doc comments or Typescript
- Some extra cool stuff to be added
An Image of the process
An Example proccess
- Go isnside the directory svelte just created for us e.g
awesomesvelte
or whatever the project name you chose
- Install dependencies
- Open it in Visual Studio code
- Run in VSCode terminal or your windows terminal
If all went well you can open your browser and head to http://localhost:5173
Awesome! Goodluck, the goal of this post is to improve our developer experience.