Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To me Powershell is OK but if you go in expecting it to behave like bash you will be in for a lot of pain.

The most annoying issue I have run into - try to delete a node_modules folder with powershell. It's painful.



> To me Powershell is OK but if you go in expecting it to behave like bash you will be in for a lot of pain.

Completely agree. PowerShell is an object pipeline, which means that its axioms are different than a text pipeline. If you come in trying to treat it like a text pipeline, you're not going to find the tools you expect.

> The most annoying issue I have run into - try to delete a node_modules folder with powershell. It's painful.

I was curious, so I just did the following in PowerShell v5:

* Create a new, empty directory.

* Retrieve NPM modules (`npm install browserify gulp`).

* Ran `rm .\node_modules -Recurse`.

* Directory is gone.

What has your experience been?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: