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 am really thankful to the owner of this site who has shared this impressive article at at this time.
I every time spent my half an hour to read this blog’s content everyday along with a cup of coffee.
I got this site from my buddy who shared with me about
this site and now this time I am browsing this site and reading very informative
articles at this time.
Everything is very open with a precise description of the challenges.
It was truly informative. Your site is very helpful. Thank you for sharing!
Asking questions are truly pleasant thing if you
are not understanding something totally, however this piece of writing gives pleasant understanding yet.
I’m extremely impressed along with your writing skills as neatly as with the structure
in your weblog. Is that this a paid subject matter or did you customize it your self?
Anyway keep up the nice high quality writing, it is uncommon to look a great weblog like this one nowadays..
Hi there! I’m at work browsing your blog from my new
iphone 4! Just wanted to say I love reading through
your blog and look forward to all your posts! Keep up the outstanding work!
It’s a shame you don’t have a donate button! I’d definitely donate to this outstanding blog!
I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google
account. I look forward to fresh updates and
will share this site with my Facebook group. Talk soon!
Hey! I know this is kinda off topic but I was wondering which blog platform are you using for this site?
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 great if you could point me in the direction of a good platform.
Asking questions are truly pleasant thing if you are
not understanding anything fully, however this piece of writing gives pleasant understanding yet.
Howdy would you mind letting me know which webhost you’re using?
I’ve loaded your blog in 3 completely different web browsers and I must say this blog loads a lot faster then most.
Can you suggest a good hosting provider at a reasonable price?
Kudos, I appreciate it!
I know this site offers quality dependent articles or reviews and other stuff, is there any other website which offers
these things in quality?
Hi there! Do you use Twitter? I’d like to follow you if that would be ok.
I’m undoubtedly enjoying your blog and look forward to new posts.
I really like your blog.. very nice colors & theme.
Did you create this website yourself or did you hire someone to do it for you?
Plz reply as I’m looking to create my own blog and would like to find out where u got this from.
many thanks
Nice response in return of this difficulty with genuine arguments and explaining the whole thing about that.
This paragraph presents clear idea in support of the new people of blogging, that in fact how
to do running a blog.
Wow that was unusual. I just wrote an really long comment but after I clicked submit my comment didn’t appear.
Grrrr… well I’m not writing all that over again. Anyway, just
wanted to say excellent blog!
What’s up to every body, it’s my first pay a quick visit of this blog;
this blog carries remarkable and in fact good information in support of visitors.
hello!,I like your writing very much! percentage we keep in touch more approximately your post on AOL?
I need a specialist on this area to unravel my problem.
Maybe that is you! Taking a look ahead to see you.
What’s up everyone, it’s my first visit at this site, and piece of writing is in fact fruitful designed for me, keep up posting these types of posts.
Hey there! Would you mind if I share your
blog with my myspace group? There’s a lot
of people that I think would really appreciate your content.
Please let me know. Thanks
Hurrah! After all I got a webpage from where I can really take helpful information regarding my study
and knowledge.
This is my first time pay a visit at here and i am really happy to read all at single place.
I love it when people get together and share ideas. Great website, keep it
up!
Its like you read my mind! You appear to know a lot about this,
like you wrote the book in it or something.
I think that you can do with some pics to drive the message home a bit, but instead
of that, this is magnificent blog. An excellent read. I’ll certainly be
back.
I’ve been exploring for a little for any high quality articles
or blog posts on this kind of space . Exploring in Yahoo I finally stumbled upon this website.
Reading this information So i’m happy to express that I’ve an incredibly just right uncanny feeling I found out exactly what I needed.
I so much indubitably will make certain to don?t overlook this website and
provides it a look on a continuing basis.
I’m truly enjoying the design and layout of your website.
It’s a very easy on the eyes which makes it much more enjoyable for me
to come here and visit more often. Did you hire out a developer to create
your theme? Great work!
I do consider all of the ideas you’ve introduced
for your post. They’re really convincing and can certainly work.
Still, the posts are too quick for newbies. May just you please lengthen them a bit from next
time? Thanks for the post.
Nice post. I was checking constantly this blog and I am impressed!
Extremely helpful info specifically the last part 🙂 I care for such info a lot.
I was looking for this particular information for a very long time.
Thank you and good luck.
Whats up are using WordPress for your site platform?
I’m new to the blog world but I’m trying to get started
and create my own. Do you need any html coding expertise to make your
own blog? Any help would be really appreciated!
Howdy! Someone in my Facebook group shared this website with us so I came to take
a look. I’m definitely loving the information. I’m book-marking and will be tweeting this to my
followers! Terrific blog and terrific design and
style.
Have you ever considered creating an e-book or guest authoring on other sites?
I have a blog based upon on the same subjects you discuss and would love to have you share some stories/information. I know my viewers would value your work.
If you’re even remotely interested, feel free to shoot me an e-mail.
When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from
now on every time a comment is added I get 4 emails
with the same comment. There has to be a way
you can remove me from that service? Many thanks!
Greetings from Carolina! I’m bored to tears at work so I decided to check out your blog on my iphone during lunch break.
I enjoy the information you provide here and can’t wait to take a look when I get
home. I’m shocked at how fast your blog loaded on my phone
.. I’m not even using WIFI, just 3G .. Anyways, wonderful
site!
Hello! I know this is kinda off topic but I was
wondering which blog platform are you using for this site?
I’m getting sick and tired of WordPress because I’ve had issues with hackers and I’m looking at options for another
platform. I would be great if you could point me in the direction of a good platform.
Today, I went to the beach front 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 completely off
topic but I had to tell someone!
Pretty! This has been a really wonderful article. Thank you
for supplying this information.
It’s actually a nice and useful piece of info. I am happy that you simply shared this useful information with us.
Please keep us informed like this. Thank you
for sharing.
Hi there just wanted to give you a brief heads up and let you know a few of
the pictures aren’t loading properly. I’m not sure why but I think its a linking issue.
I’ve tried it in two different browsers and both show the same results.
Hi there just wanted to give you a brief heads up and let you know a few of
the pictures aren’t loading properly. I’m not sure why but I think its a linking issue.
I’ve tried it in two different browsers and both show the same results.
Whoa! This blog looks just like my old one! It’s
on a entirely different subject but it has pretty much the same layout and design.
Excellent choice of colors!
Hi there Dear, are you genuinely visiting this site on a regular basis, if so afterward you will definitely get nice knowledge.
If you wish for to improve your know-how just keep visiting this
website and be updated with the latest news posted here.
Remarkable! Its really remarkable paragraph, I have got much
clear idea regarding from this piece of writing.
I like the valuable information you provide in your articles.
I’ll bookmark your blog and check again here regularly.
I am quite sure I will learn many new stuff right here! Good luck for the next!
What’s up to all, the contents existing at this web site are truly amazing for people experience, well, keep up the nice
work fellows.
What i don’t realize is in fact how you’re not really much
more neatly-liked than you may be now. You are very intelligent.
You realize therefore considerably in terms of this matter, made me individually consider it from numerous varied angles.
Its like women and men aren’t fascinated until it is something to accomplish with Girl gaga!
Your own stuffs great. All the time handle it up!
Hello! This post couldn’t be written any better!
Reading through this post reminds me of my good old room mate!
He always kept talking about this. I will forward this page to him.
Pretty sure he will have a good read. Thanks for sharing!
Asking questions are truly nice thing if you are not understanding something totally,
but this piece of writing offers pleasant understanding yet.
If you wish for to improve your familiarity simply keep visiting this web page and be updated with the most recent information posted here.