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
This post will assist the internet viewers for setting up
new weblog or even a weblog from start to end.
I am in fact happy to read this website posts which consists of plenty of useful data,
thanks for providing these kinds of information.
I like the valuable information you provide to your articles.
I will bookmark your weblog and take a look at again right here regularly.
I’m fairly certain I will learn lots of new stuff right here!
Best of luck for the next!
I was curious if you ever thought of changing the layout of your website?
Its very well written; I love what youve got to say. But maybe you could
a little more in the way of content so people
could connect with it better. Youve got an awful lot of text for only having
1 or two pictures. Maybe you could space it out better?
Nice blog! Is your theme custom made or did you download it from somewhere?
A design like yours with a few simple adjustements would really make my blog jump out.
Please let me know where you got your design. Thanks
You actually make it seem so easy with your presentation but I find this matter to
be actually something that I think I would never understand.
It seems too complex and extremely broad for me. I’m looking forward for your next post, I’ll try to get the hang of it!
Everyone loves what you guys are usually up too.
Such clever work and exposure! Keep up the awesome works guys I’ve incorporated you guys to our blogroll.
I’m not that much of a online reader to be honest but your blogs really
nice, keep it up! I’ll go ahead and bookmark your website to come back later
on. All the best
Fantastic site. A lot of helpful information here.
I’m sending it to several buddies ans additionally sharing in delicious.
And of course, thanks in your effort!
I was recommended this web site by my cousin. I’m not sure whether
this post is written by him as no one else know such detailed about my difficulty.
You’re amazing! Thanks!
Amazing blog! Is your theme custom made or did you download it from somewhere?
A design like yours with a few simple adjustements would
really make my blog stand out. Please let me know where you got your design. With thanks
Wow, superb blog format! How lengthy have you ever been running a blog for?
you made blogging look easy. The entire glance of your website is fantastic, let alone the content!
Your style is so unique compared to other folks I’ve read stuff from.
Thank you for posting when you’ve got the opportunity, Guess I
will just bookmark this blog.
Thank you, I’ve just been searching for information approximately this topic for ages and yours
is the greatest I have discovered till now.
However, what about the conclusion? Are you certain about the supply?
Appreciate the recommendation. Let me try it out.
I really like it when folks come together and share opinions.
Great blog, keep it up!
This design is incredible! You definitely know how to keep a reader entertained.
Between your wit and your videos, I was almost moved to start my own blog (well,
almost…HaHa!) Great job. I really enjoyed what you had
to say, and more than that, how you presented it. Too cool!
An impressive share! I’ve just forwarded this onto a friend who was doing
a little research on this. And he actually ordered
me dinner simply because I found it for him… lol. So let me reword this….
Thanks for the meal!! But yeah, thanx for spending some time to talk about this matter here on your site.
Excellent post. I was checking continuously this
blog and I’m impressed! Extremely useful information specially the last part :
) I care for such info a lot. I was seeking this certain information for a very long time.
Thank you and best of luck.
Excellent blog! Do you have any suggestions for aspiring
writers? I’m planning to start my own website soon but I’m a
little lost on everything. Would you recommend starting with a free platform like WordPress or go for a paid option?
There are so many choices out there that I’m totally confused ..
Any ideas? Thank you!
Hi would you mind letting me know which web host you’re working with?
I’ve loaded your blog in 3 completely different browsers and I must say this blog loads a lot quicker then most.
Can you suggest a good internet hosting provider at a honest price?
Cheers, I appreciate it!
naturally like your web site however you need to take a look at the spelling on quite a
few of your posts. Several of them are rife with spelling issues and I find it very
troublesome to tell the reality nevertheless I will certainly
come back again.
Good day! Do you know if they make any plugins to assist
with Search Engine Optimization? I’m trying to get my blog to rank for some targeted
keywords but I’m not seeing very good success. If you know
of any please share. Cheers!
This paragraph is in fact a pleasant one it helps new internet visitors, who are wishing for blogging.
Thank you a bunch for sharing this with all folks you actually realize
what you are talking about! Bookmarked. Kindly also
consult with my site =). We can have a link exchange contract among us
What a material of un-ambiguity and preserveness of precious
knowledge regarding unpredicted emotions.
Hello, I would like to subscribe for this weblog to obtain most recent updates, therefore where can i do it please
help.
Thank you for the auspicious 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 am really loving the theme/design of your website. Do you ever run into any web
browser compatibility problems? A few of my blog audience have complained
about my blog not operating correctly in Explorer but looks great in Firefox.
Do you have any tips to help fix this problem?
Hello to every single one, it’s genuinely a good for me
to visit this website, it includes useful Information.
You actually make it appear really easy together with your presentation however I in finding this topic to be
actually something that I feel I might by no means understand.
It sort of feels too complex and very extensive for me. I’m taking
a look ahead in your subsequent put up, I’ll attempt to get the hold of it!
Hi! Do you know if they make any plugins to safeguard against
hackers? I’m kinda paranoid about losing everything I’ve
worked hard on. Any tips?
Today, I went to the beach with my children. I
found a sea shell and gave it to my 4 year old daughter and said «You can hear the ocean if you put this to your ear.» She put the shell to her ear and screamed.
There was a hermit crab inside and it pinched her ear.
She never wants to go back! LoL I know this is entirely off topic
but I had to tell someone!
This article will help the internet users for building up new weblog
or even a blog from start to end.
My partner and I stumbled over here from a different web address 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 yet again.
Right away I am going away to do my breakfast,
afterward having my breakfast coming yet again to read other news.
With havin so much content and articles do you ever run into any issues of plagorism or copyright infringement?
My site has a lot of exclusive content I’ve either created myself or outsourced but it
appears a lot of it is popping it up all over
the internet without my permission. Do you know any methods to help protect against content from being stolen? I’d certainly appreciate it.
Hi friends, its fantastic piece of writing concerning educationand entirely explained, keep it up all the time.
whoah this weblog is wonderful i like reading your posts.
Stay up the great work! You understand, lots of persons are searching round for this
info, you can aid them greatly.
Everything is very open with a very clear clarification of
the issues. It was definitely informative. Your
site is useful. Many thanks for sharing!
Hi it’s me, I am also visiting this website on a
regular basis, this site is truly fastidious and the people are actually sharing fastidious thoughts.
I will right away grab your rss feed as I can not find your e-mail subscription link or e-newsletter service.
Do you have any? Please let me realize in order that I may
subscribe. Thanks.
Hey there! This is kind of off topic but I need some guidance from an established blog.
Is it very difficult to set up your own blog? I’m not very techincal
but I can figure things out pretty fast. I’m thinking about making my own but I’m not sure where to
start. Do you have any ideas or suggestions? Thank you
I’m curious to find out what blog platform you happen to be using?
I’m experiencing some minor security issues with my latest website
and I would like to find something more secure.
Do you have any recommendations?
Hello there, You have done an incredible job. I will definitely digg it and personally suggest to my friends.
I’m confident they will be benefited from this web site.
This is really interesting, You are a very skilled blogger.
I’ve joined your feed and look forward to seeking more of your fantastic post.
Also, I’ve shared your site in my social networks!
I simply could not depart your website prior to suggesting that I actually
enjoyed the usual information a person supply to your visitors?
Is going to be back steadily in order to check out new posts
It’s remarkable in support of me to have a site,
which is beneficial in favor of my knowledge. thanks admin
Hmm is anyone else having problems with the pictures on this blog loading?
I’m trying to find out if its a problem on my end or
if it’s the blog. Any feed-back would be greatly appreciated.
Great blog here! Also your website loads up fast!
What web host are you using? Can I get your affiliate link to your host?
I wish my web site loaded up as quickly as yours lol