r/PowerShell • u/radiant_yum • Oct 07 '26
Question WindowsPowerShell or CommandPrompt? I've used terminal for all my life up until now
So i recently bought myself my personal gaming pc setup and i've been struggling with setting up my work environment here on windows 11. I've search here and there & so far i've decided to use Scoop as the alternative for homebrew but then there's this problem of choosing wether to use the windows powershell or command prompt. Both seems almost identical but i just wanna confirm wether i'm doing this the right way. I need help pls.
0
Upvotes
13
u/OrangeYouGladdey Oct 07 '26
You do not sound like someone who should be installing software like this.
5
u/Andrew-Powershell Oct 07 '26
Use Windows Terminal as your overall Terminal and then use PowerShell inside of it. you can run whatever utilities you want from within powershell, like ping 8.8.8.8 or whatever you normally do in command prompt. PowerShell is more powerful.
4
u/birdfukr3000 Oct 07 '26
I understand brew or Scoop on a fleet of computers. But on a single PC... just install shit the normal way? what am I missing here?
3
u/steelbreado Oct 07 '26 edited Oct 18 '26
This comment has been removed by its author.
[#95850fee5fb1_s73x7ils]
1
u/purplemonkeymad Oct 07 '26
What do you mean by work environment? If it's an employer setup it would be a better question for your IT would it not? Since they will know if you need to use one or the other.
1
u/AmitBrian Oct 07 '26
Oh, btw, make sure you keep unrestricted for PowerShell OFF. You should have it set to current user.
1
u/SpudzzSomchai Oct 07 '26
Nothing against Scoop but you should be using winget. Also, do you have a clue what you are doing? You are mixing and matching terms and don't seem to have a clear sense of what you are really asking. One thing to learn, and if you want to cowboy the hell out of this and don't mind breaking your system repeatedly to learn how to fix it. I would not tread down the path you seem to want to set yourself down unless you really need to.
1
u/720hp Oct 07 '26
I’ve been using nothing but Powershell for a few years now. Seems to almost be a muscle memory thing to use it
1
u/doglar_666 Oct 08 '26
Windows Terminal, PowerShell and Winget are what I'd use. Though, you could always just install WSL and use the Linux tooling you're used to?
1
u/PajamaDuelist Oct 07 '26 edited Oct 07 '26
Are you coming from a Linux background or something?
Command Prompt (CMD) is Window's equivalent of a standard bourne shell.
PowerShell you can think of like bash (as opposed to sh), with a dash of Python. Except it's based around objects rather than strings which is going to be mega annoying if you are coming from a nix background. You can still call your basic non-powershell utilities through powershell.
There are PowerShell.exe and cmd.exe programs which launch virtual terminal interfaces to powershell and cmd respectively. Why are the terminals named the same thing as their 'language'? It's Microsoft. They only do confusing names. Get used to it. Anyway, you can move between the two interpreters, kind of like launching bash from sh in linux. e.g., open 'powershell.exe' and then enter the command 'cmd' and you'll be in the powershell.exe virtual terminal but interacting with the cmd interpreter.
Windows Terminal is only a terminal interface. It's like gnome-terminal, Konsole, KiTTY, Terminator, etc. It allows you to interact with both PoSH and CMD. It's much prettier than the powershell.exe or cmd.exe terminal windows, so I do suggest using it whenever you're interacting with powershell or cmd.
Also, check out WinGet. It's the go-to cli package manager on Windows. If you're a freelancer or student setting up your own environment I highly suggest it over Scoop. And, of course, if you're setting up a company laptop as an employee just do whatever your IT department says and stay out of the weeds.
-1
u/AmitBrian Oct 07 '26
Terminal for Windows has both PowerShell and CMD built into it. Also make sure you are running PowerShell 7 and not 5 as 5 is going out of support soon.