PowerShell
xonsh
PowerShell | xonsh | |
---|---|---|
406 | 121 | |
46,747 | 8,661 | |
1.4% | 1.7% | |
9.7 | 9.5 | |
4 days ago | 6 days ago | |
C# | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PowerShell
- PowerShell 7.5.0 Released
-
Fish shell announces 4.0 release
I'll take this moment to point out that the PowerShell feels like a modern shell and is open source https://github.com/PowerShell/PowerShell (MIT license). If you want something more modern give it a try. Native support for JSON and XML and parallel streams.
That said, I'm glad to see another major release of Fish because it's for having option that we get evolution.
-
Best PowerShell Dev Environment on Windows
Download: https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/PowerShell-7.4.5-win-x64.msi
- PowerShell: Cross-Platform Automation and Scripting for Every System
- PowerShell for Every System: Cross-Platform Automation Made Easy
- Jeffrey Snover and the Making of PowerShell
-
Why *not* parse `ls` (and what to do instead)
PowerShell is so alien to an experienced bash/zsh/etc. user that it's an entirely different language not any kind of drop-in replacement. Its designers also refuse to add simple things to make the switch any easier (e.g. https://github.com/PowerShell/PowerShell/issues/3316).
-
Microsoft to Deprecate VBScript
Not necessarily:
1. UNIX-compatibility aliases like "ls -> Get-ChildItem" and "cat -> Get-Content" are not defined in PowerShell on Linux or macOS. For a complete list of these, see the PowerShell source code[1] (look for "#if !UNIX").
2. A number of aliases from PowerShell ≤ 5.1 were removed in PowerShell Core (≥ 6.0), including the particularly annoying "curl -> Invoke-WebRequest" (conflicts with curl.exe) and "sc -> Set-Content" (conflicts with sc.exe).
[1] https://github.com/PowerShell/PowerShell/blob/8ea1598964590b...
-
LuaRT: Lua programming environment for console, desktop applications for Windows
and do a no-install copy-paste deployment of powershell 7 and modules. (I'm not saying you should do this instead of using Lua, just that you can).
[1] https://github.com/PowerShell/PowerShell/releases
-
PowerBI: déployer une passerelle sur AWS pour $0.12/j
msiexec.exe /package https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
xonsh
- Xonsh – A Python-Powered Shell
- Python Is the New Basic
-
Fish 4.0: The Fish of Theseus
Also, do consider xonsh.[1]
It's a Bash-like shell written in Python. It has significant overlap with the awesomeness of fish, and has the advantage of being able to write your shell scripts in a Python dialect. So if you know Python, the mental burden is much lower.
On top of that, it's cross platform, since Python is. No WSL needed.
I switched to it in 2018 and haven't looked back. Originally it was just because I wanted a better command prompt environment in Windows for work, but I liked it so much I switched to it in Linux as well.
(And yes, you can type any Python statement right in the command prompt).
[1] https://xon.sh/
-
A Second Search for Bash Scripting Alternatives
No xonsh? (https://xon.sh/) Seems to hit most of the requirements.
Been happily using it since 2018. It's great not to have to learn a whole other language just to do scripting.
-
The Dune Shell
Interesting thought experiment. Reminds me of my cousin's project Xonsh https://xon.sh/
-
Reasons I still love the fish shell
If you like this sort of thing, I strongly recommend also checking out the xonsh shell.
It's bash-like, but Python based. Works on both Windows and Linux. Has several of the benefits mentioned in this article. It's really nice that I don't need to learn another language for shell scripting - its language is Python, with some extensions to make it less tedious (e.g. easily executing commands without using os.system or subprocess).
Been using it since 2018.
https://xon.sh/
- Xonsh is a Python-powered shell
-
Streamlining Project Automation with Makim
Makim extends its functionality beyond conventional script execution by supporting various interpreters and shell languages, facilitating a versatile development environment. While xonsh is the default interpreter - blending the capabilities of Bash and Python for an enriched command-line experience - Makim's architecture allows for seamless integration with other environments. For developers seeking to leverage this feature, a foundational understanding of xonsh can be beneficial. Comprehensive details and usage guidelines are available in the official xonsh documentation.
- AIM Weekly for 10 June 2024
-
This Week In Python
xonsh – Python-powered, cross-platform, Unix-gazing shell
What are some alternatives?
nushell - A new type of shell
PowerToys - Windows system utilities to maximize productivity
fish-shell - The user-friendly command line shell.
ShellCheck - ShellCheck, a static analysis tool for shell scripts
zx - A tool for writing better scripts