this post was submitted on 30 Jul 2026
23 points (100.0% liked)

Programming

27909 readers
205 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

I built a service whose primary client is a CLI program. I was thinking about building that client for Windows as well (not just WSL). My target users are generally technically-proficient so I'd rather not build a whole GUI app if it's unnecessary. But I honestly have no idea how often Windows users use CLI tools beyond some Windows admin stuff.

So if Windows is your daily driver, how often do you leverage the shell and how unusual would it be to use CLI tools in your workflows?

top 26 comments
sorted by: hot top controversial new old
[–] Kissaki@programming.dev 2 points 6 hours ago* (last edited 6 hours ago)

Keyboard is a central part of my workflows and input, but CLI only narrowly.

I regularly fire up Nushell, and occasionally use specific or dedicated tools (git, edit, …), but generally, no, relatively to other usage, I wouldn't say I leverage CLI tools much, although that's subjective and relative. I wouldn't call it unusual either, though. Relatively common, actually.

I certainly have no problem firing up a shell and using Shell, CLI, or TUI, and if a tool or util is good or important enough, I will do so and use them when I need or want to use them for (specific) things or work.

[–] Kolanaki@pawb.social 2 points 8 hours ago* (last edited 8 hours ago)

How often do I, personally, open the shell to enter my own commands? Almost never. If it's something I would need to repeat, I'd make a BAT file for it and have it run at startup.

How often do I run programs that are entirely in the command line? Fairly often depending on what I am doing. Plenty of apps I run are command-line only. Especially any kind of conversion or encoding tool.

[–] chamaeleon@fedia.io 2 points 8 hours ago

Git, vcpkg, cmake, winget, lazygit, powershell commands (don't know enough but never take enough time to learn more in depth, web searches for what I need at the time)

[–] Superorbit@lemmy.ca 3 points 10 hours ago

I use windows for 2 things gaming and development (although the latter is being shifted to linux). For gaming I don't use the terminal and for development I use it fairly frequently depending on what I'm doing.

[–] nixfreak@sopuli.xyz 7 points 12 hours ago (1 children)

A lot , powershell scripts, PSRun, msys2, emacs mostly. Powershell is actually pretty easy to learn to build your own stuff.

[–] treadful@lemmy.zip 1 points 7 hours ago

Hold up. You run emacs in powershell?

[–] cecilkorik@lemmy.ca 8 points 14 hours ago

You certainly can but it really takes a special kind of user to be comfortable with it. Powershell is pretty alright, it's powerful despite being pretty gnarly and awkward. It's certainly not my preference, and I think most end-users would (and do) find it terrifying. Not that bash doesn't have warts too. Powershell is a bit of an ugly duckling. It's not nice to look at but I'm always a bit surprised at how comprehensive Powershell really is.

In my experience though, at least at my workplace, most serious command-line users go directly to Mac or Linux, or run WSL or Git-bash on Windows. Not many people except hardcore Microsoft sysadmins really prefer Powershell and I doubt many people at all prefer Cmd.exe, ugh.

[–] AzuraTheSpellkissed@lemmy.blahaj.zone 10 points 15 hours ago (1 children)

As a programmer, I use it all the time. But I've seen IT students saying they are "scared of the console". And many devs seem to be scared of git and just merge everything somewhere somehow without ever looking at a git graph. Of got target audience is programmers, CLIs should be fine. If not, then it depends on more details. Can you tell more about the service/application?

[–] treadful@lemmy.zip 2 points 15 hours ago* (last edited 15 hours ago)

I built a service for people to create simple Web sites using Markdown and CSS (jot.run) and the primary interface is currently a CLI client. So the target audience will be comfortable with those simple formats at least. So maybe not only programmers, but probably only technically-oriented people.

[–] SamuraiBeandog@lemmy.world 10 points 15 hours ago (1 children)

As a programmer who's work setup is on Windows I use command line every day.

[–] treadful@lemmy.zip 1 points 15 hours ago (3 children)

Could you give me some examples of tools you use? Ideally things that are built to be cross-platform (I suppose git would be a good example). I'd like to see what others are doing. I'm especially curious how CLI options are treated on cross-platform CLI tools, since /o is more common than -o on Windows.

[–] SamuraiBeandog@lemmy.world 2 points 13 hours ago (1 children)

Git, npm, dotnet CLI, Claude CLI.

[–] treadful@lemmy.zip 1 points 13 hours ago

npm has a Windows client? neat!

[–] CalcProgrammer1@lemmy.today 3 points 15 hours ago

I use git all the time at work from CLI. Windows Terminal is something I would highly recommend if you're going to heavily use CLI on Windows. Set up profiles for CMD, PowerShell, and if you have it, git bash. I don't use WSL (don't use Linux at work and use actual Linux at home) but git bash provides Windows equivalents of commonly used Linux/Unix commands.

[–] theherk@lemmy.world 1 points 15 hours ago

I think many if not most are using WSL, so the interfaces are generally the same.

[–] FizzyOrange@programming.dev 4 points 14 hours ago (1 children)

Depends on the windows user. But I dunno why you wouldn't offer it for Windows. You kind of have to go out of your way these days to make supporting Windows difficult, e.g. using OCaml or Perl or Bash or something.

[–] treadful@lemmy.zip 2 points 14 hours ago (1 children)

Mostly I guess I'm wondering if porting the CLI client would be useful or if a GUI client would be required to get any traction on Windows.

[–] FizzyOrange@programming.dev 1 points 13 hours ago

Ah I see. That definitely depends on what it is and who your target audience is. I would say you can be quite technically proficient in Windows without being very familiar with the command line because a) the Windows command line sucks (even Powershell is kind of awful), and b) there are so many great GUI tools available, you almost never need to resort to the command line.

So yeah, just depends where you want to draw the line and what it is that you're making.

[–] bridgeenjoyer@sh.itjust.works 3 points 14 hours ago

I would like to but my IT locks it all down so I can't do anything beyond CD and tree.

[–] slazer2au@lemmy.world 3 points 15 hours ago

We have a custom cross platform CLI tool for managing our sovereign cloud which I use quite a bit. But I cheat as a daily windows user and have Debian installed in WSL.

The only windows specific things I run is route print when troubleshooting our remote access VPN, TNC ( test net connection, I can never remember where the hyphen goes), and our own tool.

Its kinda sad, due to the corporate spyware its faster to launch a WSL console then it is to launch powershell most of the time.

[–] bold_omi@lemmy.today -2 points 9 hours ago* (last edited 9 hours ago)

Excepting those forced to use Windows, if they were smart enough to use a CLI for much, they wouldn't use Windows.

Edit: Fixed an error in the text.

[–] PapstJL4U@lemmy.world 2 points 15 hours ago

full stack programmer:

every day

  • Having software in C#, PLSql, Angular and different gut repos, I use ripgrep and fd for a good search

  • Angular I developing in nvim and with CLI commands

  • mostly lazygit, but although some git in the cli

  • winget gets used over alternatives where possible

[–] HubertManne@piefed.social 1 points 14 hours ago

I used to but have not used windows in awhile. I think most windows IT guys use it to some degree.

[–] whotookkarl@lemmy.dbzer0.com 1 points 15 hours ago (2 children)

If I'm on a windows box by order of preference wsl, cygwin, PowerShell, console. There's no package manager so I use either chocolatey or the cygwin packages.

[–] CalcProgrammer1@lemmy.today 4 points 15 hours ago

There is winget, which is built into newer Windows. You can install a decent amount of stuff using it. I have a setup script for setting up my OpenRGB development environment that uses winget to pull down MSVC build tools and libraries, 7-zip, and more.