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
I’d like to thank you for the efforts you’ve put in writing this blog.
I am hoping to check out the same high-grade blog posts from you later on as well.
In truth, your creative writing abilities has encouraged me to get
my very own blog now 😉
I blog quite often and I seriously thank you for your information. The article has really peaked my interest.
I’m going to bookmark your website and keep checking for new details about once per week.
I subscribed to your RSS feed too.
I like looking through a post that will make
men and women think. Also, thanks for allowing for me to comment!
Hi there, its fastidious paragraph regarding media print, we all
understand media is a great source of data.
I’m truly enjoying the design and layout of
your site. It’s a very easy on the eyes which makes it much
more pleasant for me to come here and visit more often. Did you
hire out a designer to create your theme? Outstanding work!
Hey I am so grateful I found your blog, I really found you by accident,
while I was searching on Yahoo for something else,
Anyways I am here now and would just like to say cheers for a
fantastic post and a all round exciting blog (I also love
the theme/design), I don’t have time to
go through it all at the moment but I have saved it and
also added in your RSS feeds, so when I have time I will be
back to read a great deal more, Please do keep up the superb b.
Nice weblog right here! Also your web site rather a lot up very fast!
What web host are you the use of? Can I am getting your affiliate hyperlink in your host?
I wish my website loaded up as quickly as yours lol
I am really happy to glance at this webpage posts which includes tons of helpful facts,
thanks for providing these statistics.
I think this is one of the most vital info for me. And i’m glad reading your article.
But want to remark on few general things, The site style is great, the articles
is really great : D. Good job, cheers
Its such as you read my mind! You seem to understand a lot approximately this, such as you wrote the guide
in it or something. I feel that you just can do with a few % to
force the message home a little bit, but instead of that, this is fantastic blog.
A great read. I’ll certainly be back.
This post will help the internet users for creating new webpage or even a weblog from start to end.
Very nice post. I just stumbled upon your weblog and wanted to say
that I’ve truly enjoyed browsing your blog posts.
In any case I’ll be subscribing to your feed
and I hope you write again soon!
Attractive section of content. I just stumbled upon your website and in accession capital to assert
that I acquire actually enjoyed account your blog posts.
Any way I’ll be subscribing to your augment and even I achievement you access consistently rapidly.
naturally like your web site however you have to test the spelling on quite a few of
your posts. Many of them are rife with spelling issues and
I in finding it very bothersome to tell the truth however I
will surely come again again.
What’s up, its good article regarding media print, we all be familiar with media is a wonderful source of data.
Hi, just wanted to say, I liked this post. It was
inspiring. Keep on posting!
Just wish to say your article is as astonishing.
The clearness in your post is simply great and i can assume you’re an expert on this subject.
Fine with your permission let me to grab your RSS feed to keep up to
date with forthcoming post. Thanks a million and please
continue the gratifying work.
Hmm it seems like your site ate my first comment (it was extremely long)
so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog.
I too am an aspiring blog writer but I’m still new to the whole thing.
Do you have any recommendations for novice blog writers?
I’d definitely appreciate it.
If you desire to take much from this article then you have to apply these strategies to your won weblog.
I feel that is among the most important information for me.
And i am glad studying your article. But should remark on few basic
issues, The web site taste is perfect, the articles is in reality great :
D. Just right process, cheers
This is really attention-grabbing, You’re an overly professional blogger.
I have joined your feed and sit up for seeking extra of your magnificent post.
Also, I’ve shared your web site in my social networks
Yesterday, while I was at work, my sister stole my iPad and tested to see if it can survive a
30 foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views.
I know this is totally off topic but I had to share it with someone!
Greetings from Ohio! I’m bored at work so I decided to browse your blog on my iphone during lunch break.
I really like the information you present here and can’t wait
to take a look when I get home. I’m amazed at how quick
your blog loaded on my cell phone .. I’m not even using WIFI, just 3G ..
Anyhow, very good blog!
Hello, yeah this article is really good and I have learned lot of things from it about
blogging. thanks.
Great 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 shine.
Please let me know where you got your theme. Kudos
A fascinating discussion is definitely worth comment.
I do think that you ought to publish more on this issue, it might not be a
taboo matter but usually people do not talk about these issues.
To the next! Kind regards!!
I always spent my half an hour to read this
website’s articles all the time along with a cup of coffee.
I do trust all of the concepts you’ve offered on your post.
They’re really convincing and can definitely work.
Still, the posts are very short for starters. Could
you please extend them a bit from subsequent time? Thanks for the post.
Every weekend i used to go to see this web site, as i wish for enjoyment, as this this
website conations truly good funny data too.
Incredible! This blog looks just like my old one!
It’s on a completely different subject but it has pretty much the same page layout and
design. Great choice of colors!
I blog frequently and I truly appreciate your information. This article
has truly peaked my interest. I am going to take a note of your website and keep checking for new details about once per
week. I opted in for your RSS feed too.
Hello! I just wanted to ask if you ever have any trouble with hackers?
My last blog (wordpress) was hacked and I ended
up losing many months of hard work due to no backup.
Do you have any solutions to stop hackers?
It’s not my first time to pay a visit this web page, i am
visiting this site dailly and take fastidious data from here daily.
My partner and I stumbled over here coming from a different website and thought I might as well check things out.
I like what I see so i am just following you. Look forward to finding out about your
web page yet again.
Generally I do not read article on blogs, however I wish to say that this write-up very pressured me to check out and do so!
Your writing taste has been surprised me. Thank you, very great post.
Very nice post. I absolutely love this website.
Keep writing!
Hello are using WordPress for your site platform? I’m new to
the blog world but I’m trying to get started and set up my own. Do you need any coding expertise to make your own blog?
Any help would be really appreciated!
Touche. Outstanding arguments. Keep up the great effort.
When I originally left a comment I seem to have clicked
on the -Notify me when new comments are added- checkbox and now every time a comment is
added I recieve 4 emails with the same comment.
There has to be a means you can remove me from that service?
Cheers!
Good post however , I was wondering if you could write a litte more on this subject?
I’d be very thankful if you could elaborate a little bit more.
Cheers!
Hello there! I could have sworn I’ve been to this site before
but after reading through some of the post I realized it’s
new to me. Nonetheless, I’m definitely glad I found it and I’ll be bookmarking
and checking back frequently!
I am curious to find out what blog platform you happen to be using?
I’m experiencing some small security problems with my
latest site and I’d like to find something more secure.
Do you have any suggestions?
Hi there would you mind sharing which blog
platform you’re working with? I’m looking to start my own blog in the near future but I’m
having a difficult time choosing between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your design and style seems different then most blogs and I’m
looking for something unique. P.S
Apologies for being off-topic but I had to ask!
Right now it appears like Movable Type is the preferred blogging platform available right now.
(from what I’ve read) Is that what you’re using on your blog?
Very good information. Lucky me I discovered your site by chance (stumbleupon).
I have bookmarked it for later!
Yes! Finally someone writes about zalicz.net.
Hello, I enjoy reading through your article post.
I wanted to write a little comment to support you.
Great web site. A lot of helpful information here.
I’m sending it to a few pals ans also sharing in delicious.
And naturally, thank you for your sweat!
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 definitely you are going to a
famous blogger if you aren’t already 😉 Cheers!
Your style is unique compared to other folks I have read stuff from.
I appreciate you for posting when you have the opportunity, Guess I’ll just bookmark this site.