TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What tools do you recommend for working on Windows?

16 点作者 cartesius1310 个月前
I&#x27;m a 22 years old hobbyist software developer and sysadmin enthusiast. I&#x27;ve been using linux in all my computers since I was 15 and I mainly program in Go, shell script, and Javascript. I work at a factory and recently for promoted to my first white collar position, so for the first time in my life I work at a computer. The position is production control, nothing to do with software development.<p>The computers at the company, however, are running Windows. It&#x27;s very jarring going from 7 straight years of linux to Windows 10. I like creating scripts and tools for myself at home, so using Windows is often painful and feels like a slog. What I wanted to ask you is tools for making my experience less terrible. I recently discovered and started using AutoHotKey which is awesome and I&#x27;m sure will be of great use and I&#x27;ve also been trying to get into Excel programming (Excel is an important part of my job). What software would you recommend for someone in my position? The catch is that it must be something that doesn&#x27;t have an &quot;Install&quot; step. Whenever I try to install anything it asks for an administrator password that I don&#x27;t have, but things like notepad++ you just grab an .exe and run the program directly with no issues<p>What I&#x27;m missing is things like shell tools, shell scripts, text manipulations tools, rofi&#x2F;dmenu, pdf tools, a rich text editor that isn&#x27;t MS Word (I know markdown and html)

19 条评论

a3n10 个月前
Counter-suggestion:<p>Dive totally into the Windows world.<p>My background was star-nix, and when i found myself having to use Windows, I always did something like Cygwin, gvim, etc. Which worked fine.<p>But it necessarily limited my expertise in Windows. Being an expert in Windows, while working in a Windows environment, should make you a more valuable player.<p>When someone asks you how you do something, you don&#x27;t want their eyes to glaze over when you say &quot;First you have to install Cygwin.&quot; You make yourself a useless resource in their opinion.<p>Everything that can be done as a user in *nix can be done in Windows, in some Windows way. Be useful to yourself and your colleagues.<p>I think.
评论 #41059360 未加载
sandreas10 个月前
I personally use the following:<p>- MSys2 - unix tools for windows<p>- wsl - Windows subsystem for linux<p>- Powershell + Powershell ISE - windows shell + dev tool<p>- starship - prompt config that also works on Powershell<p>- scoop - package manager (similar to apt and others) installs to your user directory<p>- The ultimate windows utility - debloat and installer <a href="https:&#x2F;&#x2F;christitus.com&#x2F;windows-tool&#x2F;" rel="nofollow">https:&#x2F;&#x2F;christitus.com&#x2F;windows-tool&#x2F;</a><p>- my dotfiles<p>I still prefer POSIX stuff, but this way it is acceptable, especially scoop package manager is the most useful tool to save time installing software without admin permissions.
Leftium10 个月前
I use Git bash for Windows. It brings a lot of the linux shell tools&#x2F;scripting experience to Windows. There is a portable &quot;thumbdrive edition.&quot;[1]<p>Look for the portable versions of other apps.<p>PowerShell[2] is the built-in scripting language for Windows (better than BATCH scripts).<p>I pop into gVim for quick text manipulation tasks.<p><a href="https:&#x2F;&#x2F;sumatrapdfreader.org" rel="nofollow">https:&#x2F;&#x2F;sumatrapdfreader.org</a> is the best PDF reader.<p>I recommend a launcher like <a href="https:&#x2F;&#x2F;keypirinha.com" rel="nofollow">https:&#x2F;&#x2F;keypirinha.com</a> or even the MS PowerToys runner.<p>[1]: <a href="https:&#x2F;&#x2F;git-scm.com&#x2F;download&#x2F;win" rel="nofollow">https:&#x2F;&#x2F;git-scm.com&#x2F;download&#x2F;win</a><p>[2]: <a href="https:&#x2F;&#x2F;www.wikiwand.com&#x2F;en&#x2F;PowerShell" rel="nofollow">https:&#x2F;&#x2F;www.wikiwand.com&#x2F;en&#x2F;PowerShell</a>
评论 #41052711 未加载
wruza10 个月前
Msys2 (mandatory), ahk, rapid environment editor, notepad2, winaero tweaker (bigger fonts, disabling nonsense).<p>Not sure about &quot;install&quot;, but I think all of them can be just copied to your Documents&#x2F;MyApps folder and run from there and&#x2F;or associated in explorer.<p>I also write all my cli tools in typescript. It’s just a matter of copying a project from my template and running yarn link. Now it’s available in PATH as &lt;toolname&gt;, links directly to project folder (no need to “reinstall” on changes).<p>Learn how to add menu items in explorer <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;20449316&#x2F;how-add-context-menu-item-to-windows-explorer-for-folders" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;20449316&#x2F;how-add-context...</a><p>In msys usr&#x2F;bin, copy at least the following: echo, find, grep, mkdir, sort, bash - into `x${name}`, so you can run xfind, xbash, etc to not clash with windows builtins. You’ll cp more tools later, but these are immediately necessary.<p>Use a cmd-prolog for bash scripts:<p><pre><code> script.cmd: :&lt;&lt;BATCH @xbash %~dpf0 %* @exit &#x2F;b BATCH echo &quot;bash here&quot; </code></pre> Powertoys FancyZones work better for me than any K&#x2F;G&#x2F;tiling wms.<p>For Excel, I used `npm i winax` (COM automation) at my last job. You may find it useful for advanced scripting.
Zambyte10 个月前
Regarding admin requirements, are you sure your IT will say no if you asked for permission to install things? Most (all?) places have an approval &#x2F; exception process.
xnorswap10 个月前
Some recommendations:<p>Shell: Powershell. It takes some getting used to dealing with objects rather than the &quot;everything is a file&#x2F;string&quot; world of unix&#x2F;linux but once you adjust to that, it&#x27;s wonderful.<p>Toy programming&#x2F;scripting: Linqpad. Quickly script tools in C#&#x2F;.Net.<p>p.s. On file installation, try winget, or possibly chocolatey. Install via command line, and many of the programs support being installed without admin privileges by installing to the user profile.<p>Also don&#x27;t be scared to ask your boss &#x2F; IT department to install things for you. It&#x27;s their job to provide you the tools you need.<p>I&#x27;d warn against trying to &quot;hold on&quot; to linux by trying to run everything through emulators or WSL2, it&#x27;ll just add friction when you want to collaborate with colleagues.
ratg1310 个月前
For a rich text editor, go with Notepad++ or VSCode<p>Regarding the rest though, I would say forget windows and shell scripting, and focus instead on learning your tools.<p>You said Excel was a big part of your job .. I would start by improving skills here. There are a lot of good formulas and tools that it’s important to be aware of to make your job easier.<p>If you understand pivot tables and vlookup well enough, then I would suggest learning PowerBI<p>You can even use the excel sheets as your data sources.<p>Figure this out and you will blow their minds.
solardev10 个月前
What exactly are you trying to script and manipulate on company computers? (i.e. are you just playing around or trying to write your own programs, or is there some business process you&#x27;re trying to automate?)<p>Assuming you&#x27;re just playing around and not trying to build something for business&#x2F;professional use:<p>Can you access Powershell at all (the new-ish and improved Windows terminal)? You can write scripts in it.<p>If you prefer GNU&#x2F;Linux apps, you can try a portable build of Cygwin (which lets you run Bash and some utils): <a href="https:&#x2F;&#x2F;github.com&#x2F;MachinaCore&#x2F;CygwinPortable">https:&#x2F;&#x2F;github.com&#x2F;MachinaCore&#x2F;CygwinPortable</a> (edit: or see Git Bash, as posted by Leftium: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41052353">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41052353</a>)<p>Also check out Portable Apps: <a href="https:&#x2F;&#x2F;portableapps.com&#x2F;apps" rel="nofollow">https:&#x2F;&#x2F;portableapps.com&#x2F;apps</a><p>As a last resort, you might be able to put Linux on a USB drive (or disk drive, if it has one) and boot into that, if the BIOS lets you. Some of the Live CDs have a &quot;diskless&quot; mode that won&#x27;t cause any permanent changes to the system.<p>There&#x27;s probably also a lot of online tools that can do some of that inside a web browser (like word processors and PDF editors and text manipulation). You can also run code inside codesandbox&#x2F;codepen&#x2F;hosted code space of your choice. Or you can look for portable interpreters for Node (Javascript), maybe Python, Lua, etc.<p>For window management, Windows has some nice shortcuts built-in (like drag a window to a side to fill half the screen, windows+arrow keys to move things around, or Windows+tab or alt-tab to switch between apps, etc.<p>----------<p>On the other hand, if you&#x27;re actually trying to write something for the company, you should probably talk to your IT department about it and collaborate on a solution. Don&#x27;t write something bespoke that nobody else can maintain once you&#x27;re gone (or just promoted). Especially if it&#x27;s actually tied to some industrial processes!
评论 #41052533 未加载
navjack2710 个月前
Just do what the job requires of you and in your off time explore and experiment. You&#x27;re young and the job you currently have absolutely does not fit your interests and they won&#x27;t magically have the same youthful exuberance that you do and they most likely won&#x27;t be aligned with the kind of personal growth that you&#x27;re looking for.<p>Doing what you love has the potential to completely kill what you love keep that in mind.
defrost10 个月前
sysinternals suite<p><a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sysinternals&#x2F;downloads&#x2F;sysinternals-suite" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sysinternals&#x2F;downloads&#x2F;sys...</a><p>A collection of tools that started outside Microsoft and are now very much embraced. Process Monitor does just that, AutoStart shows all the cruft that attaches at startup, to menus, to browsers, etc. FileMonitor .. live and logged file activity, etc.<p>One for your windows machine at home: PortMaster - it&#x27;s an &quot;easy use&quot; tiered (free -&gt; paid VPN like additions) variation in the sysInternals TCPView family - monitoring <i>all</i> network connections, tying them back to a process and making accept|deny trivial.<p>PortMaster requires installion - sysInternals mostly don&#x27;t, but do report better with admin privileges.<p>BulkRenameTool is crazy effective if ever you need to organise file names, in a directory, multiple directories, entire subtrees, with or without regular expressions, can add | remove patterns | timestamps, etc. <a href="https:&#x2F;&#x2F;www.bulkrenameutility.co.uk&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.bulkrenameutility.co.uk&#x2F;</a><p><a href="https:&#x2F;&#x2F;ss64.com&#x2F;nt&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ss64.com&#x2F;nt&#x2F;</a> :: An A-Z Index of Windows CMD commands.<p><a href="https:&#x2F;&#x2F;ss64.com&#x2F;ps&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ss64.com&#x2F;ps&#x2F;</a> :: An A-Z Index of Windows PowerShell commands<p>ROBOCOPY:: <a href="https:&#x2F;&#x2F;ss64.com&#x2F;nt&#x2F;robocopy.html" rel="nofollow">https:&#x2F;&#x2F;ss64.com&#x2F;nt&#x2F;robocopy.html</a> - Windows native Robust File and Folder Copy, in a windows production pipeline this is the tool that can be autostarted to monitor folders and move | copy | backup data | scripts .. useful to move staged data evolution from one machine|location to another.
not1ofU10 个月前
<a href="https:&#x2F;&#x2F;ninite.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ninite.com&#x2F;</a><p>has a lot of decent tools in one place (select the ones you want, download one exe - run it, it grabs the latest version of everything you selected and installs it with sane options [no toolbars &#x2F; good location] (I haven&#x27;t used it in a long time so I am not sure if that&#x27;s still the case, it gets mentioned here sometimes, so maybe search here about it, get a fresher perspective, i used to use it a lot though.))<p><a href="https:&#x2F;&#x2F;nakka.com&#x2F;soft&#x2F;clcl&#x2F;index_eng.html" rel="nofollow">https:&#x2F;&#x2F;nakka.com&#x2F;soft&#x2F;clcl&#x2F;index_eng.html</a> - its a clipboard manager you mentioned notepad++ already, it has some useful plugins too
nom10 个月前
AltDrag - drag and resize windows via hotkey like it&#x27;s common on Linux<p>WinCompose - compose key, if you need it. Behaves identically.<p>Everything - the only usable file search on windows<p>Process Hacker &#x2F; Process Explorer - task managers that actually lets you do stuff<p>Check out the Sysinternals Tools, it brings lots of missing fundamental features to windows.<p>I heard that knowing Powershell can unlock some kind of superpower, might be worth a look too.
tobinfekkes10 个月前
PowerToys.<p>I think there is a .MSI version laying around somewhere?<p>Maybe not anymore, I&#x27;m not finding it :(
评论 #41052396 未加载
hulitu10 个月前
&gt; What I wanted to ask you is tools for making my experience less terrible.<p>Notepad helps. Practicing a life of renunciation helps: everything is pain in Windows.<p>Avoid if at all possible.
thecrumb10 个月前
Conemu is a good terminal. VSCode is editor of choice. Find and Run Robot for rofi&#x2F;dmenu replacement. Too bad you can&#x27;t install WSL...
评论 #41055000 未加载
ahazred8ta10 个月前
Ask your IT about the Windows Subsystem for Linux (WSL), which gives you a familiar environment on a windows machine.
bravetraveler10 个月前
WSL is the only way I can get by. Basically imitate my entire Linux configuration in there; dotfiles and all
gregjor10 个月前
flame thrower or hydraulic press should make it tolerable.<p>maybe boot it from linux on a usb stick so you can continue to use that.
atmanactive10 个月前
Make sure to go full portable on windows. Portable software on windows means software that doesn&#x27;t need to be installed (or is installed only once and never again), software that doesn&#x27;t depend on any other software in windows (except for runtime libraries), and finally, software that is capable of discovering it&#x27;s own path at runtime and capable of storing its state data somewhere on that same path. This ensures that your portable software root folder can work on any windows straight away. This way you make sure windows will never loose stuff that&#x27;s important to you. This way you can change computers at will, you can keep working at multiple computers at a time (just by plugging your USB drive or copying your folder). Simply put, by going all portable you make sure windows is just an easily replaceable underlying engine for your software stack. Given windows&#x27; and x86&#x27;s commitment to supporting legacy software, I have my portable drive in use for about 20 years now, happily expanding my software library and surviving at least 10 generations of hardware and windows upgrades without a hitch.<p>Here is my recipe: Get yourself a fast SSD or USB drive dedicated to your own windows portable library. Format it as one partition. Make the partition occupy drive letter A:. Having a predetermined drive letter that doesn&#x27;t change helps with software that&#x27;s not 100% portable but still stores absolute paths instead of relative ones. Now create a single folder on that drive, like, for example &quot;MyPC&quot; or whatever. Inside that folder create 3 subfolders: Programs, Documents, Install. Always put all your portable programs in the &quot;A:\MyPC\Programs\&quot; folder. Always put all your documents in the &quot;A:\MyPC\Documents\&quot; folder. Put driver files and runtime libraries in the &quot;A:\MyPC\Install\&quot; folder. For all three, feel free to create subfolders as needed, either per topic, per group, or however your brain envisions data trees.<p>You can find plenty of portable windows software in the links provided below.<p>Few of my favorites for specific tasks:<p>- my personal auto-run and launch hooks: <a href="https:&#x2F;&#x2F;www.dcmembers.com&#x2F;skwire&#x2F;download&#x2F;splat&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.dcmembers.com&#x2F;skwire&#x2F;download&#x2F;splat&#x2F;</a><p>- my personal system tray app&#x2F;doc shortcuts: <a href="http:&#x2F;&#x2F;jacquelin.potier.free.fr&#x2F;QuickWayToFolders&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jacquelin.potier.free.fr&#x2F;QuickWayToFolders&#x2F;</a><p>- my personal desktop icons: <a href="https:&#x2F;&#x2F;www.cylog.org&#x2F;utilities&#x2F;toolbox.jsp" rel="nofollow">https:&#x2F;&#x2F;www.cylog.org&#x2F;utilities&#x2F;toolbox.jsp</a><p>- system monitoring utilities: <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sysinternals&#x2F;downloads&#x2F;process-explorer" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sysinternals&#x2F;downloads&#x2F;pro...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;LibreHardwareMonitor&#x2F;LibreHardwareMonitor">https:&#x2F;&#x2F;github.com&#x2F;LibreHardwareMonitor&#x2F;LibreHardwareMonitor</a><p>- how to keep secret data on a portable drive: <a href="https:&#x2F;&#x2F;www.veracrypt.fr&#x2F;en&#x2F;Home.html" rel="nofollow">https:&#x2F;&#x2F;www.veracrypt.fr&#x2F;en&#x2F;Home.html</a><p>Find more portable apps in these libraries:<p><a href="https:&#x2F;&#x2F;portapps.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;portapps.io&#x2F;</a><p><a href="https:&#x2F;&#x2F;portableapps.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;portableapps.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.portablefreeware.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.portablefreeware.com&#x2F;</a>