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
What’s Happening i’m new to this, I stumbled upon this
I’ve found It positively helpful and it has aided me
out loads. I am hoping to give a contribution & aid different users like its helped me.
Good job.
Hello to every body, it’s my first pay a visit of this weblog;
this weblog contains amazing and truly good material in support of visitors.
I’m not sure where you’re getting your info, but good topic.
I needs to spend some time learning much more or understanding more.
Thanks for great info I was looking for this info for my mission.
We stumbled over here from a different web address and thought I might as well check things out.
I like what I see so i am just following you.
Look forward to looking over your web page yet again.
Good replies in return of this issue with firm arguments and
explaining all concerning that.
Hey! This is my 1st comment here so I just wanted
to give a quick shout out and tell you I
genuinely enjoy reading through your articles. Can you suggest any other blogs/websites/forums that cover the same topics?
Thank you!
Keep on working, great job!
May I simply say what a relief to find somebody that genuinely knows what they’re talking about online.
You actually know how to bring a problem to light and make it important.
A lot more people need to read this and understand this side of the story.
It’s surprising you are not more popular because you certainly have the gift.
Ahaa, its fastidious dialogue concerning this paragraph at this place at this webpage, I
have read all that, so at this time me also commenting here.
Hi there colleagues, how is the whole thing, and what you desire to say on the topic of this article,
in my view its in fact amazing in favor of me.
My family members always say that I am wasting
my time here at web, but I know I am getting know-how everyday by reading thes pleasant posts.
What a data of un-ambiguity and preserveness of precious familiarity regarding unexpected emotions.
Appreciating the persistence you put into your blog and detailed information you provide.
It’s nice to come across a blog every once in a while that isn’t the same old rehashed information. Fantastic read!
I’ve bookmarked your site and I’m including your RSS feeds to my Google account.
Informative article, just what I was looking for.
Howdy! This post could not be written any better!
Reading through this post reminds me of my good old room mate!
He always kept chatting about this. I will forward this article to him.
Pretty sure he will have a good read. Thanks for sharing!
It’s very straightforward to find out any matter on web as
compared to textbooks, as I found this article at this web page.
What’s up colleagues, its enormous piece of writing
on the topic of cultureand entirely explained, keep it up all the time.
It’s a pity you don’t have a donate button! I’d without a
doubt donate to this outstanding blog! I guess for now i’ll settle for book-marking
and adding your RSS feed to my Google account. I look forward to brand new updates and
will talk about this website with my Facebook
group. Talk soon!
We’re a gaggle of volunteers and starting a new scheme in our community.
Your site offered us with helpful info to work on. You’ve done a formidable activity and
our whole neighborhood shall be grateful to you.
I visited various blogs except the audio feature for audio songs present at this web site is in fact superb.
Wow, that’s what I was looking for, what a stuff! present here at this blog,
thanks admin of this site.
You’ve made some really good points there. I looked
on the net for additional information about the issue and found most
individuals will go along with your views on this site.
Saved as a favorite, I really like your site!
whoah this blog is great i like studying your articles. Stay up
the good work! You understand, lots of individuals are searching round for this information, you could help them greatly.
Hi just wanted to give you a quick heads up and let you know a few
of the images aren’t loading properly. I’m not sure why but I think its a linking issue.
I’ve tried it in two different web browsers and both show the same outcome.
I absolutely love your site.. Excellent colors
& theme. Did you create this amazing site yourself? Please reply back
as I’m hoping to create my own blog and want
to know where you got this from or exactly what the theme is named.
Thank you!
You are so awesome! I don’t suppose I have read through a single thing like that before.
So great to discover someone with some genuine thoughts on this issue.
Really.. thanks for starting this up. This web site is something that is required
on the internet, someone with some originality!
I am really inspired with your writing abilities as neatly as with the format for your blog.
Is this a paid subject or did you customize it yourself?
Either way keep up the nice high quality writing, it is uncommon to
look a great weblog like this one nowadays..
Thanks to my father who stated to me about this webpage,
this website is really remarkable.
An interesting discussion is definitely worth comment.
I do believe that you need to write more about this topic, it might not be
a taboo subject but generally people do not discuss these
topics. To the next! Best wishes!!
This design is incredible! You obviously 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!) Excellent job.
I really loved what you had to say, and more than that, how you presented it.
Too cool!
Way cool! Some very valid points! I appreciate you writing this write-up and
also the rest of the site is very good.
What’s up everyone, it’s my first visit at this website,
and piece of writing is genuinely fruitful in favor of me, keep up posting
these articles or reviews.
Good post! We are linking to this great article on our site.
Keep up the great writing.
Hello! 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?
Amazing! Its really amazing piece of writing, I have got much clear idea concerning from this post.
If you wish for to get a great deal from this post then you have to apply these strategies to your won webpage.
Admiring the hard work you put into your website and detailed information you present.
It’s great to come across a blog every once in a
while that isn’t the same unwanted rehashed material.
Great read! I’ve saved your site and I’m adding your RSS feeds to my Google account.
I’ve been browsing on-line greater than three hours these days,
yet I by no means found any interesting article like yours.
It is pretty price enough for me. Personally, if all web owners and bloggers made good content
as you did, the net can be a lot more helpful than ever before.
Hey! Do you use Twitter? I’d like to follow you if that
would be ok. I’m absolutely enjoying your blog and look forward
to new posts.
Pretty section of content. I just stumbled upon your web site and in accession capital to assert that I acquire in fact
enjoyed account your blog posts. Any way I will be subscribing to your augment and
even I achievement you access consistently rapidly.
I love looking through an article that will make people think.
Also, thank you for allowing me to comment!
It’s fantastic that you are getting thoughts from this post as well as from our dialogue made here.
Today, I went to the beachfront with my kids. 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 placed 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 completely off topic but I had to tell someone!
For the reason that the admin of this website
is working, no question very quickly it will be renowned, due to its quality
contents.
With havin so much written content do you ever run into any problems of plagorism or copyright violation? My blog has
a lot of completely unique content I’ve either written myself
or outsourced but it seems a lot of it is popping it up all over the web without my
permission. Do you know any solutions to help protect
against content from being stolen? I’d truly appreciate it.
Outstanding quest there. What happened after? Take care!
Good day! I know this is kinda off topic but I was wondering which blog platform are you using
for this website? I’m getting fed up of WordPress because I’ve had problems with
hackers and I’m looking at alternatives for another platform.
I would be awesome if you could point me in the direction of a good platform.
My coder is trying to convince me to move to .net from PHP.
I have always disliked the idea because of the costs.
But he’s tryiong none the less. I’ve been using WordPress on a number of
websites for about a year and am nervous about switching to another platform.
I have heard great things about blogengine.net.
Is there a way I can transfer all my wordpress content into it?
Any kind of help would be really appreciated!
I’m not sure exactly why but this site is loading extremely slow for me.
Is anyone else having this problem or is it a issue on my end?
I’ll check back later on and see if the problem still
exists.