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
Hi, I wish for to subscribe for this weblog to get hottest updates, thus where can i do it please help.
Hi! I’m at work surfing around your blog from my new iphone 3gs!
Just wanted to say I love reading through your blog and look forward to all your posts!
Keep up the outstanding work!
I visited several blogs except the audio feature for audio songs current at this site
is actually superb.
We stumbled over here from a different web address and thought I might check things out.
I like what I see so now i’m following you.
Look forward to looking into your web page yet again.
Hey there! Someone in my Facebook group shared this site 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!
Wonderful blog and terrific style and design.
Nice blog right here! Also your website so much up fast! What host
are you the usage of? Can I get your associate hyperlink for your host?
I wish my site loaded up as quickly as yours lol
Hi there! I could have sworn I’ve visited this blog before
but after going through many of the articles I
realized it’s new to me. Regardless, I’m certainly
pleased I stumbled upon it and I’ll be bookmarking it and checking back
frequently!
I enjoy what you guys are up too. This type of clever work and exposure!
Keep up the excellent works guys I’ve included you guys to my personal
blogroll.
Everything is very open with a clear clarification of the challenges.
It was really informative. Your website is very helpful. Many thanks for sharing!
I like reading through a post that can make people think.
Also, thank you for allowing for me to comment!
Very good information. Lucky me I found your site by chance (stumbleupon).
I’ve saved it for later!
Hi! I’ve been following your web site for some time now and finally got the courage to go
ahead and give you a shout out from New Caney Tx! Just wanted to say keep up the good work!
Hi, I do think this is a great blog. I stumbledupon it 😉 I am going to return yet
again since I book marked it. Money and freedom is the best way to change,
may you be rich and continue to guide others.
Hi! I’ve been following your website for a while now and finally got the
courage to go ahead and give you a shout out from New Caney Texas!
Just wanted to tell you keep up the great job!
Hi, i believe that i noticed you visited my blog thus i got here to
return the desire?.I am attempting to to find issues to improve
my site!I assume its adequate to make use of some of your concepts!!
It is not my first time to go to see this site,
i am browsing this web site dailly and take fastidious information from here every day.
Nice post. I learn something totally new and challenging on blogs I
stumbleupon everyday. It’s always interesting to read through articles
from other authors and use something from other sites.
I am curious to find out what blog platform you’re utilizing?
I’m experiencing some small security problems with my latest site
and I’d like to find something more safe. Do you
have any recommendations?
This is a good tip especially to those new to the blogosphere.
Brief but very precise information… Thank you for sharing
this one. A must read post!
I believe this is one of the so much significant info for me.
And i’m happy reading your article. However want to commentary on some general issues, The website style
is great, the articles is really nice : D. Good job, cheers
Hi, I think your site might be having browser compatibility issues.
When I look at your website in Chrome, it looks fine but when opening in Internet Explorer, it has
some overlapping. I just wanted to give you a quick heads up!
Other then that, fantastic blog!
Wow, this article is pleasant, my younger sister is analyzing these kinds
of things, so I am going to inform her.
I have been browsing online more than three hours today, yet
I never found any interesting article like yours.
It’s pretty worth enough for me. Personally, if all web owners and bloggers made good
content as you did, the web will be a lot more useful than ever before.
After checking out a handful of the articles on your website,
I seriously appreciate your technique of writing a blog.
I book-marked it to my bookmark webpage list and will be checking back
soon. Please check out my web site as well and tell me what you think.
Thanks , I’ve just been searching for info about this subject for ages and yours is the greatest I have found out so far.
However, what about the conclusion? Are you positive in regards to the source?
If you would like to grow your experience simply keep visiting this web site and be updated
with the most up-to-date news update posted here.
each time i used to read smaller articles or reviews which
as well clear their motive, and that is also happening with this post which I am reading here.
Wow, this piece of writing is good, my sister is analyzing these things, thus I am going to tell her.
Hello there, I discovered your site by means of
Google at the same time as looking for a similar
topic, your website got here up, it seems good.
I’ve bookmarked it in my google bookmarks.
Hi there, just turned into aware of your blog via Google, and located that it’s really
informative. I am going to watch out for brussels.
I will be grateful if you happen to continue this in future.
Many folks can be benefited from your writing. Cheers!
Everything is very open with a very clear clarification of the challenges.
It was definitely informative. Your website is extremely helpful.
Many thanks for sharing!
Right now it seems like Drupal is the preferred blogging platform
out there right now. (from what I’ve read) Is that what you’re using on your blog?
What i don’t realize is in fact how you are not really much more well-favored than you
may be right now. You’re very intelligent. You recognize thus considerably when it comes to this topic, made me personally believe it from a lot of various angles.
Its like women and men aren’t fascinated until it’s something to do with Girl gaga!
Your individual stuffs outstanding. At all times maintain it up!
It’s awesome designed for me to have a site, which is
useful designed for my knowledge. thanks admin
Sweet blog! I found it while searching on Yahoo News.
Do you have any tips on how to get listed in Yahoo News?
I’ve been trying for a while but I never seem to get there!
Cheers
Hi, Neat post. There is a problem along with
your website in web explorer, might check this? IE
nonetheless is the market leader and a good element of other people will leave out your
excellent writing because of this problem.
It’s difficult to find knowledgeable people about this
subject, however, you sound like you know what you’re talking about!
Thanks
It’s a pity you don’t have a donate button! I’d without a doubt donate to this
fantastic blog! I suppose for now i’ll settle for book-marking
and adding your RSS feed to my Google account. I look forward to new
updates and will share this website with
my Facebook group. Talk soon!
What’s Happening i am new to this, I stumbled upon this I
have discovered It positively helpful and it has helped me out loads.
I hope to contribute & aid other users like its aided me.
Good job.
Excellent weblog right here! Additionally your website so much up
very fast! What web host are you using? Can I get your associate
link in your host? I desire my web site loaded up as quickly as yours lol
I have been surfing online more than 4 hours today, yet I
never found any interesting article like yours. It’s pretty worth enough for
me. In my view, if all site owners and bloggers
made good content as you did, the net will be a lot
more useful than ever before.
Pretty section of content. I just stumbled upon your website and in accession capital to
assert that I get in fact enjoyed account your blog posts.
Any way I will be subscribing to your augment and even I achievement you access consistently fast.
You made some really good points there. I looked on the internet to find out more about the
issue and found most people will go along with your views on this website.
I am regular visitor, how are you everybody?
This paragraph posted at this website is truly good.
My developer 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 worried about switching to another platform.
I have heard great things about blogengine.net. Is there a way I can import all my wordpress content into it?
Any kind of help would be really appreciated!
I got this web site from my buddy who shared with me concerning this website and
at the moment this time I am visiting this website and reading
very informative articles at this time.
Everyone loves what you guys tend to be up too. Such clever work and coverage!
Keep up the awesome works guys I’ve included you guys to my own blogroll.
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 answer back as
I’m looking to design my own blog and would like to know where u got this from.
many thanks
I’m amazed, I must say. Seldom do I come across a blog
that’s both equally educative and amusing, and let me tell you, you have hit the nail on the head.
The issue is something which not enough people are speaking intelligently about.
I am very happy that I came across this in my search for something regarding this.
I am regular visitor, how are you everybody?
This piece of writing posted at this web page is truly pleasant.
Quality content is the key to attract the people to go to see the
web page, that’s what this web site is providing.