Se trata de una versión de Powershell para MacOS que está en Beta como proyecto en GitHub y se puede descargar desde aquí.
Para este caso la versión es v6.0.0-beta.8, y se puede realizar vía HomeBrew ( … gestor de paquetes de MacOS ). Si no tienes HomeBrew instalado, se podría instalar ejecutando en el terminal lo siguiente:
/usr/bin/ruby -e «$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)»
Pedirá confirmación de la instalación, proporcionando toda la información de la instalación:
userx$ /usr/bin/ruby -e «$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)»
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made group writable:
/usr/local/bin
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/share
/usr/local/lib/pkgconfig
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
==> The following existing directories will have their owner set to userx:
/usr/local/bin
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/share
/usr/local/lib/pkgconfig
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
==> The following existing directories will have their group set to admin:
/usr/local/bin
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/lib/pkgconfig
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
==> The following new directories will be created:
/usr/local/Cellar
/usr/local/Homebrew
/usr/local/Frameworks
/usr/local/opt
/usr/local/sbin
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
/usr/local/var
Press RETURN to continue or any other key to abort
Una vez instalado HomeBrew, a continuación se instala HomeBrew Cask desde el terminal, que se trata de una extensión que proporciona más paquetes:
brew tap caskroom/cask
Y por último instalamos Powershell:
brew cask install powershell
Que proporcionará una salida el comando con información interesante:
==> Creating Caskroom at /usr/local/Caskroom
==> We’ll set permissions properly so we won’t need sudo in the future
Password:
==> Caveats
A OpenSSL-backed libcurl is required for custom handling of certificates.
This is rarely needed, but you can install it with
brew install curl –with-openssl
See https://github.com/PowerShell/PowerShell/issues/2211
==> Satisfying dependencies
==> Installing Formula dependencies: openssl
==> Installing openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2l.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/cc/cc92b67189d6df7315c083da142599faa9848563011e7f5314a0dc36cf03be4c?__gda__=exp=1508686149~hmac=293
######################################################################## 100,0%
==> Pouring openssl-1.0.2l.high_sierra.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.
If you need to have this software first in your PATH run:
echo ‘export PATH=»/usr/local/opt/openssl/bin:$PATH»‘ >> ~/.bash_profile
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2l: 1,709 files, 12.3MB
==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.8/powershell-6.0.0-beta.8-osx.10.12-x64.pkg
######################################################################## 100,0%
==> Verifying checksum for Cask powershell
==> Installing Cask powershell
==> Running installer for powershell; your password may be necessary.
==> Package installers may write to any location; options such as –appdir are ignored.
==> installer: Package name is powershell-6.0.0-beta.8-osx.10.12-x64
==> installer: Installing at base path /
==> installer: The install was successful.
🍺 powershell was successfully installed!
Y a disfrutar:
userx$ powershell
PowerShell v6.0.0-beta.8
Copyright (C) Microsoft Corporation. All rights reserved.
PS /Users/userx>
Fuentes:
https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#macos-1012
Keep on working, great job!
Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something.
I think that you can do with a few pics to drive the message home a bit, but other than that,
this is great blog. A great read. I will certainly be back.
Hello, just wanted to say, I enjoyed this post. It was helpful.
Keep on posting!
Everything is very open with a really clear description of the issues.
It was really informative. Your website is very helpful.
Many thanks for sharing!
Asking questions are truly good thing if you are not understanding something totally, however this article provides nice understanding
even.
Hey there! I just wanted to ask if you ever have any trouble with hackers?
My last blog (wordpress) was hacked and I ended up losing months of hard work
due to no back up. Do you have any methods to protect against hackers?
Have you ever thought about creating an ebook or guest authoring on other websites?
I have a blog centered on the same topics you discuss and would really like
to have you share some stories/information. I know my audience would appreciate your work.
If you are even remotely interested, feel free to send me an e
mail.
I do not even know how I ended up here, but I thought this post was great.
I don’t know who you are but certainly you’re going to
a famous blogger if you are not already 😉 Cheers!
Thanks , I’ve recently been searching for information approximately this
topic for ages and yours is the greatest I have discovered so far.
However, what about the bottom line? Are you certain concerning the
source?
I really like your blog.. very nice colors & theme.
Did you design this website yourself or did you hire
someone to do it for you? Plz respond as I’m looking to
create my own blog and would like to know where u got this from.
thank you
If you want to increase your experience only keep visiting this website
and be updated with the hottest gossip posted here.
This is the perfect blog for anyone who really wants to find out about this topic.
You understand so much its almost hard to argue with you (not that I really will
need to…HaHa). You certainly put a new spin on a topic that has been discussed for many years.
Wonderful stuff, just great!
I seriously love your blog.. Very nice colors & theme.
Did you develop this web site yourself? Please reply back as I’m
attempting to create my very own blog and want to learn where you got this
from or just what the theme is called. Thanks!
Hey there would you mind stating which blog platform you’re using?
I’m planning to start my own blog in the near future but I’m
having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your layout seems different then most blogs
and I’m looking for something unique.
P.S My apologies for getting off-topic but I had to ask!
I’m really inspired along with your writing talents as neatly as with
the structure for your blog. Is this a paid topic or did you
customize it your self? Anyway keep up the excellent high quality
writing, it is uncommon to peer a nice weblog like this one these days..
It’s fantastic that you are getting ideas from this post as well
as from our dialogue made at this time.
Magnificent goods from you, man. I’ve understand your stuff previous to and you’re just too excellent.
I actually like what you’ve acquired here, certainly like what you’re
stating and the way in which you say it. You make it enjoyable and you still care
for to keep it smart. I can’t wait to read far more from you.
This is really a great site.
If some one wants to be updated with newest technologies therefore he must be go to see this website and be up to date everyday.
When I initially commented I clicked the «Notify me when new comments are added» checkbox and now each time a
comment is added I get several e-mails with the same comment.
Is there any way you can remove me from that service?
Cheers!
Howdy would you mind sharing which blog platform you’re using?
I’m looking to start my own blog in the near future but I’m having a difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your design seems different then most blogs
and I’m looking for something completely unique.
P.S Apologies for being off-topic but I had to ask!
Good day! I know this is kind of off topic but I was
wondering if you knew where I could get a captcha
plugin for my comment form? I’m using the
same blog platform as yours and I’m having
trouble finding one? Thanks a lot!
Excellent site. Plenty of useful information here. I am sending it to some pals ans additionally
sharing in delicious. And certainly, thank you in your sweat!
Genuinely no matter if someone doesn’t understand then its up
to other viewers that they will assist, so here it happens.
Hello everyone, it’s my first go to see at this web page, and post is truly fruitful designed for me, keep up posting these posts.
whoah this blog is excellent i really like studying your posts.
Keep up the great work! You realize, lots of people are hunting around for this info, you can help them greatly.
This text is priceless. Where can I find out more?
I am not sure where you’re getting your info, but great topic.
I needs to spend some time learning much more or understanding more.
Thanks for magnificent information I was looking for this
info for my mission.
of course like your web site but you have to test the spelling on several of
your posts. Several of them are rife with spelling problems and I to find it very troublesome to tell the reality
nevertheless I will certainly come back again.
What’s Going down i’m new to this, I stumbled upon this I’ve found It absolutely useful and it has helped me out loads.
I’m hoping to give a contribution & aid different customers like its
aided me. Good job.
Have you ever thought about writing an ebook or guest authoring
on other sites? I have a blog centered on the same subjects you discuss and would love to have
you share some stories/information. I know my visitors would value your
work. If you are even remotely interested, feel free to shoot me an e-mail.
Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to more added agreeable from you!
By the way, how could we communicate?
I enjoy what you guys tend to be up too. Such clever work
and reporting! Keep up the very good works guys I’ve included
you guys to my blogroll.
Thanks for one’s marvelous posting! I certainly enjoyed reading it, you happen to be a great author.I will make certain to bookmark your blog and may come back sometime soon. I want to encourage you to continue your great
posts, have a nice afternoon!
I love reading a post that can make people think.
Also, thanks for allowing me to comment!
What’s up mates, how is everything, and what you wish for to say concerning this
article, in my view its truly remarkable designed for me.
Greetings! I know this is kinda off topic but I was wondering if
you knew where I could locate a captcha
plugin for my comment form? I’m using the same blog platform
as yours and I’m having problems finding one? Thanks a lot!
Aw, this was an exceptionally good post. Taking a few minutes and actual effort to generate a superb article… but what can I
say… I procrastinate a lot and never seem to get anything done.
What’s up to all, since I am actually keen of reading this website’s post to be updated daily.
It consists of good data.
Wow that was odd. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear.
Grrrr… well I’m not writing all that over again. Anyways, just wanted to say wonderful blog!
This is a topic which is near to my heart… Thank you!
Where are your contact details though?
I like the valuable information you provide in your articles.
I’ll bookmark your weblog and test once more right here
frequently. I’m moderately sure I’ll learn lots of new stuff proper right
here! Best of luck for the following!
I don’t know if it’s just me or if everyone else experiencing
problems with your blog. It appears as if some of the written text within your content are running
off the screen. Can somebody else please comment and let me know if this is happening to
them as well? This might be a problem with my
web browser because I’ve had this happen before. Kudos
Hey there! Someone in my Myspace group shared this website
with us so I came to look it over. I’m definitely loving the information. I’m bookmarking and will be tweeting
this to my followers! Exceptional blog and outstanding design and style.
Hello would you mind stating which blog platform you’re working with?
I’m going to start my own blog soon but I’m having a
difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your layout seems different then most blogs and I’m looking for something completely unique.
P.S Apologies for being off-topic but I had to ask!
Very great post. I simply stumbled upon your blog and wanted to
mention that I’ve truly enjoyed browsing your weblog posts.
In any case I will be subscribing to your feed and I hope
you write once more very soon!
Spot on with this write-up, I truly feel this amazing site needs a great
deal more attention. I’ll probably be returning to see more, thanks for the advice!
Right away I am going away to do my breakfast, later than having my breakfast coming again to read more news.
Hi! Someone in my Facebook group shared this website with
us so I came to take a look. I’m definitely enjoying the information. I’m bookmarking and will be tweeting this to my followers!
Superb blog and amazing design.
Hi, I desire to subscribe for this website to take most up-to-date updates, therefore where can i do it please help.
We stumbled over here by a different page and thought I should check things out.
I like what I see so now i am following you.
Look forward to looking into your web page again.