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
Superb post however , I was wondering if you could write a litte more on this topic?
I’d be very grateful if you could elaborate a little bit further.
Thank you!
This paragraph will help the internet users for
building up new web site or even a weblog from start to end.
Hmm it appears like your website ate my first comment (it
was extremely long) so I guess I’ll just sum it up what I submitted
and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog
writer but I’m still new to everything. Do you have any suggestions for novice blog writers?
I’d definitely appreciate it.
Terrific post however , I was wondering if you could write a
litte more on this subject? I’d be very grateful if you could elaborate a little bit further.
Thanks!
Every weekend i used to pay a quick visit this web site, because i want enjoyment, as this this web site conations genuinely fastidious
funny data too.
I loved as much as you’ll receive carried out right here.
The sketch is attractive, your authored material stylish. nonetheless,
you command get bought an shakiness over that you wish be delivering
the following. unwell unquestionably come more formerly
again as exactly the same nearly a lot often inside case you shield this increase.
This post is priceless. How can I find out more?
I loved as much as you will receive carried out right here.
The sketch is tasteful, your authored subject matter stylish.
nonetheless, you command get bought an shakiness over
that you wish be delivering the following. unwell unquestionably
come further formerly again as exactly the same nearly very often inside case you shield this increase.
I visited various blogs but the audio quality for audio songs current at
this site is truly fabulous.
Its like you read my mind! You appear to know so much about this, such as you wrote
the guide in it or something. I think that you just could do with a
few p.c. to drive the message home a little bit, but
instead of that, that is great blog. An excellent read.
I will certainly be back.
all the time i used to read smaller articles that as well
clear their motive, and that is also happening with this paragraph which I am
reading now.
It’s perfect time to make some plans for the
longer term and it is time to be happy. I have read this post and if I may just I
wish to recommend you few fascinating issues or suggestions.
Perhaps you can write subsequent articles regarding this article.
I wish to read even more things about it!
Thanks for any other excellent post. Where else may anyone get that kind of info in such a perfect means
of writing? I’ve a presentation subsequent week, and I
am on the search for such info.
Great work! That is the kind of information that should be shared around the web.
Shame on the seek engines for not positioning this publish higher!
Come on over and seek advice from my site . Thank you =)
Genuinely when someone doesn’t understand after that its up
to other viewers that they will help, so here it occurs.
Somebody essentially help to make seriously posts I’d state.
That is the very first time I frequented your web
page and to this point? I amazed with the research you made to create this particular put up extraordinary.
Wonderful job!
I do not know whether it’s just me or if perhaps everybody else experiencing issues with
your website. It appears as if some of the text on your content are
running off the screen. Can someone else please provide feedback and let me know if this is happening to them too?
This might be a problem with my browser because I’ve had this happen before.
Many thanks
I was able to find good info from your blog posts.
At this time it sounds like WordPress is the preferred blogging platform available
right now. (from what I’ve read) Is that what you’re using on your blog?
Good info. Lucky me I ran across your blog by chance (stumbleupon).
I’ve saved as a favorite for later!
I think this is among the so much important info for me.
And i’m happy reading your article. However should commentary on few common things, The website taste is wonderful,
the articles is truly nice : D. Just right job, cheers
Quality articles is the crucial to attract the
visitors to visit the web page, that’s what this
web site is providing.
Howdy very nice site!! Guy .. Excellent .. Amazing ..
I’ll bookmark your site and take the feeds also?
I am happy to find a lot of helpful information here in the submit, we
need develop more techniques in this regard, thank you for sharing.
. . . . .
Hi there! This post couldn’t be written any better! Reading this post reminds me of my previous
room mate! He always kept talking about this. I will forward this article to him.
Fairly certain he will have a good read. Thank you for
sharing!
Hi there! This post couldn’t be written any better!
Reading this post reminds me of my good old room mate!
He always kept talking about this. I will forward this page to him.
Fairly certain he will have a good read. Many thanks for sharing!
Hi there it’s me, I am also visiting this web
site regularly, this website is truly fastidious and the users are really
sharing pleasant thoughts.
Hi, I do believe this is an excellent blog. I stumbledupon it 😉 I may come
back once again since I saved as a favorite it. Money and freedom is
the greatest way to change, may you be rich and continue to guide
other people.
Woah! I’m really digging the template/theme of this site.
It’s simple, yet effective. A lot of times it’s challenging
to get that «perfect balance» between superb usability and visual appearance.
I must say you have done a great job with this.
Additionally, the blog loads super quick for me on Firefox.
Exceptional Blog!
Hi my friend! I wish to say that this article is amazing, nice written and include almost all important infos.
I would like to peer extra posts like this .
Hello, I log on to your new stuff daily. Your humoristic style is awesome, keep up the good work!
Hey there! Quick question that’s completely off topic.
Do you know how to make your site mobile friendly?
My weblog looks weird when browsing from my iphone4. I’m trying to find a
template or plugin that might be able to correct this problem.
If you have any recommendations, please share. With
thanks!
Good blog you’ve got here.. It’s difficult to find quality writing like yours nowadays.
I seriously appreciate individuals like you!
Take care!!
I will immediately snatch your rss as I can’t to find your email subscription link or
newsletter service. Do you have any? Please permit me
recognize in order that I could subscribe. Thanks.
Hi! I know this is kinda off topic however , I’d figured I’d ask.
Would you be interested in trading links or maybe guest writing
a blog article or vice-versa? My website addresses a lot of the same subjects as yours and I feel we could greatly benefit from each other.
If you happen to be interested feel free to shoot me an e-mail.
I look forward to hearing from you! Awesome blog by the way!
Wow! After all I got a web site from where I be capable of in fact obtain helpful information concerning
my study and knowledge.
A person necessarily help to make severely posts I would
state. That is the very first time I frequented your web page and thus far?
I surprised with the analysis you made to make this particular post
incredible. Excellent job!
You are so awesome! I don’t suppose I’ve truly read through a single thing like that
before. So great to discover somebody with original thoughts on this
issue. Seriously.. thanks for starting this up. This web site is
one thing that is required on the web, someone with a little originality!
I think this is one of the most significant information for me.
And i am glad reading your article. But wanna remark on few general
things, The website style is wonderful, the articles is really great
: D. Good job, cheers
Fantastic website. Lots of helpful info here. I’m sending
it to some pals ans also sharing in delicious. And obviously, thank
you in your effort!
Hi there to every one, the contents existing at this site are
actually remarkable for people knowledge, well,
keep up the nice work fellows.
bookmarked!!, I really like your site!
Great post. I was checking continuously this blog and I am impressed!
Very helpful info particularly the last part 🙂 I care for such info a
lot. I was seeking this certain info for a long time.
Thank you and best of luck.
I am truly thankful to the holder of this site who has
shared this impressive paragraph at here.
Hey I know this is off topic but I was wondering if you knew of any widgets I could
add to my blog that automatically tweet my
newest twitter updates. I’ve been looking for a plug-in like
this for quite some time and was hoping maybe you would have some experience with something
like this. Please let me know if you run into anything.
I truly enjoy reading your blog and I look forward to your new updates.
I like it whenever people come together and share thoughts.
Great website, keep it up!
Hi, I log on to your new stuff regularly. Your humoristic style is witty,
keep it up!
Hi! Do you know if they make any plugins to protect against hackers?
I’m kinda paranoid about losing everything I’ve
worked hard on. Any recommendations?
Hi, i feel that i saw you visited my weblog thus i got here
to go back the choose?.I am trying to find things to improve my website!I guess its adequate to make use of
a few of your ideas!!
Heya i am for the first time here. I came across this board and I
find It truly useful & it helped me out a lot.
I hope to give something back and help others like you
helped me.
Nice post. I learn something totally new and challenging on blogs
I stumbleupon on a daily basis. It’s always useful to read content from other authors and practice something from other web sites.