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
Hello, I enjoy reading all of your post. I like to
write a little comment to support you.
It’s really a nice and useful piece of information. I am happy that you
shared this useful information with us. Please keep us up to date like this.
Thanks for sharing.
When someone writes an post he/she retains the plan of a user in his/her brain that how a user can understand it.
Therefore that’s why this paragraph is great.
Thanks!
This is the perfect web site for anyone who hopes to find
out about this topic. You realize so much its almost hard to argue with you (not that
I really would want to…HaHa). You certainly put a brand new spin on a topic that’s been written about for
decades. Excellent stuff, just wonderful!
Good day! This is kind of off topic but I need some help from an established
blog. Is it difficult to set up your own blog? I’m not very techincal but I
can figure things out pretty quick. I’m thinking about making my own but
I’m not sure where to start. Do you have any ideas or
suggestions? Appreciate it
Hi there, You’ve done a fantastic job. I will certainly digg it and personally suggest to my friends.
I am confident they’ll be benefited from this site.
I was recommended this web site by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my problem.
You are wonderful! Thanks!
What’s up, this weekend is fastidious designed for me, as this point in time i
am reading this wonderful educational piece of writing here at my house.
We stumbled over here 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 into your web page yet again.
I am sure this post has touched all the internet people, its really really nice article on building
up new web site.
Hi! I know this is somewhat off topic but I
was wondering if you knew where I could locate a captcha plugin for my comment form?
I’m using the same blog platform as yours and I’m having
problems finding one? Thanks a lot!
Hi Dear, are you really visiting this web page regularly, if so then you will absolutely get pleasant
know-how.
Oh my goodness! Awesome article dude! Many thanks, However I am going through issues with your RSS.
I don’t understand the reason why I am unable to subscribe to it.
Is there anybody having similar RSS problems?
Anyone that knows the answer can you kindly respond? Thanx!!
I read this paragraph fully about the difference of hottest and earlier technologies, it’s amazing article.
Wow, superb blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your site is fantastic, let alone the content!
Unquestionably believe that which you stated. Your favorite justification seemed to be on the web the easiest thing
to be aware of. I say to you, I certainly get annoyed while people think about worries that
they just do not know about. You managed to hit the nail upon the top
and also defined out the whole thing without having
side effect , people can take a signal. Will likely be back
to get more. Thanks
Hi there to every one, the contents present at this web site are really awesome for people knowledge, well, keep up the good work fellows.
Yesterday, while I was at work, my cousin stole my iPad and tested to see
if it can survive a twenty five foot drop, just so
she can be a youtube sensation. My apple ipad is now destroyed and she has 83
views. I know this is entirely off topic but I had to share it with someone!
Fascinating blog! Is your theme custom made or did you download it from somewhere?
A design like yours with a few simple tweeks would really make my blog jump out.
Please let me know where you got your theme. Thank you
I’m truly enjoying the design and layout of your blog.
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? Fantastic work!
Hello friends, how is all, and what you desire to say about this post,
in my view its in fact remarkable designed for me.
Good site you have got here.. It’s difficult to find high-quality writing like yours nowadays.
I truly appreciate people like you! Take care!!
Hello everyone, it’s my first pay a visit at this web
page, and article is genuinely fruitful for me, keep
up posting these types of content.
Greetings from California! I’m bored to death at work so I decided
to check out your website on my iphone during lunch break.
I really like 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, amazing blog!
Very soon this web page will be famous among all blogging users, due to
it’s good posts
Hello it’s me, I am also visiting this web page daily, this site is genuinely nice and the users are genuinely sharing fastidious thoughts.
Appreciate the recommendation. Let me try it out.
This is a great tip particularly to those new to the blogosphere.
Simple but very precise information… Many
thanks for sharing this one. A must read article!
Great post. I will be dealing with some of these issues as
well..
It’s going to be ending of mine day, however before finish I
am reading this great paragraph to increase my knowledge.
Howdy! I simply wish to offer you a huge thumbs up for
your excellent information you have here on this post.
I will be coming back to your web site for more soon.
This is a topic which is near to my heart…
Best wishes! Where are your contact details though?
Appreciate this post. Let me try it out.
I feel that is one of the such a lot significant information for me.
And i am happy reading your article. However wanna observation on few general things,
The web site taste is great, the articles is truly excellent :
D. Good activity, cheers
I think this is among the most vital info for me.
And i’m glad reading your article. But want to remark on some general things, The website style is
perfect, the articles is really nice : D. Good job, cheers
Does your blog have a contact page? I’m having a tough time locating
it but, I’d like to send you an e-mail. I’ve got some recommendations for your blog you
might be interested in hearing. Either way, great website and I look forward to seeing it develop over
time.
I was curious if you ever thought of changing the layout of your site?
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 one or
2 pictures. Maybe you could space it out better?
Hi there friends, nice article and pleasant urging commented here, I
am genuinely enjoying by these.
Undeniably believe that which you stated. Your favorite justification seemed to be
on the internet the simplest thing to be aware of.
I say to you, I definitely get irked while people think about worries that they just do
not know about. You managed to hit the nail upon the top as well as defined out the
whole thing without having side effect , people could take a signal.
Will likely be back to get more. Thanks
Hi! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank
for some targeted keywords but I’m not seeing very good results.
If you know of any please share. Cheers!
Hi there Dear, are you in fact visiting this web site daily, if so then you will absolutely obtain fastidious know-how.
You have made some decent points there. I looked on the web
to find out more about the issue and found most people will go along with your views on this website.
Link exchange is nothing else but it is just placing the other person’s weblog link on your page at appropriate place and
other person will also do same for you.
My relatives every time say that I am wasting
my time here at net, except I know I am getting know-how all the
time by reading such fastidious articles or reviews.
Wow, awesome blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your website is
magnificent, as well as the content!
This design is incredible! You definitely know how to keep a
reader amused. Between your wit and your videos, I was almost moved to start my own blog (well,
almost…HaHa!) Fantastic job. I really loved what you had to say, and more than that, how you presented it.
Too cool!
Pretty great post. I just stumbled upon your blog and wished to mention that I have really loved browsing your weblog
posts. After all I will be subscribing to your feed and I am hoping you write once
more very soon!
I think this is among the most vital information for me.
And i am glad reading your article. But want to remark on few general things, The site style is perfect, the articles
is really excellent : D. Good job, cheers
It’s going to be ending of mine day, but before end I am reading this impressive
paragraph to improve my know-how.
Good answer back in return of this matter with firm arguments and describing the
whole thing regarding that.