Home » Libreta Azure – Powershell en MacOS

Libreta Azure – Powershell en MacOS

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

2.744 Responses to “Libreta Azure – Powershell en MacOS”

  1. Simply wish to say your article is as astonishing. The clearness in your put up is simply
    excellent and i could think you’re an expert on this subject.
    Fine together with your permission let me to grab your
    RSS feed to keep up to date with forthcoming post. Thank you 1,000,000 and please continue the
    rewarding work.

  2. I think the admin of this website is in fact working hard for his web page, because here
    every data is quality based information.

  3. Howdy would you mind stating which blog platform you’re
    working with? I’m planning to start my own blog soon but I’m having a tough time selecting
    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 Sorry for being off-topic but I had to ask!

  4. Does your website 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 suggestions
    for your blog you might be interested in hearing.
    Either way, great site and I look forward to seeing it grow over time.

  5. vimeo.com dice:

    I like the helpful information you provide in your articles.
    I’ll bookmark your blog and check again here frequently.
    I’m quite sure I will learn many new stuff right here!
    Good luck for the next!

  6. Hi, just wanted to mention, I loved this blog post.
    It was inspiring. Keep on posting!

  7. Stunning quest there. What happened after? Good luck!

  8. sportery.ge dice:

    Excellent blog here! Also your site loads up fast! What host are you using?

    Can I get your affiliate link to your host?
    I wish my website loaded up as quickly as yours lol

  9. Excellent, what a website it is! This web site presents helpful data to us, keep it up.

  10. Hi! This is my first comment here so I just wanted to give a
    quick shout out and tell you I truly enjoy reading your blog
    posts. Can you recommend any other blogs/websites/forums that go
    over the same subjects? Thanks!

  11. This is a good tip particularly to those fresh to the blogosphere.
    Short but very precise information… Many thanks for sharing this one.

    A must read post!

  12. My programmer is trying to persuade 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 various
    websites for about a year and am worried about switching to another
    platform. I have heard good things about blogengine.net.
    Is there a way I can import all my wordpress posts into it?
    Any kind of help would be really appreciated!

  13. After exploring a few of the articles on your web site,
    I seriously appreciate your technique of writing a blog.
    I saved it to my bookmark website list and
    will be checking back soon. Please check out my website as well
    and tell me how you feel.

  14. I do trust all of the concepts you have presented in your post.

    They are really convincing and can definitely work. Nonetheless,
    the posts are very quick for beginners. Could you please prolong them a little from subsequent
    time? Thanks for the post.

  15. Very nice post. I just stumbled upon your blog and wished to say that I’ve really enjoyed surfing
    around your blog posts. In any case I’ll be subscribing to your feed and I hope you
    write again soon!

  16. discuss dice:

    Hello to all, how is everything, I think every
    one is getting more from this web site, and your views
    are pleasant in favor of new users.

  17. I will right away snatch your rss as I can not to find your email subscription link
    or newsletter service. Do you have any? Please permit me understand so that I could subscribe.
    Thanks.

  18. Hello to every body, it’s my first pay a quick visit of this weblog; this weblog consists of awesome and in fact good data for readers.

  19. This excellent website definitely has all the info I
    needed about this subject and didn’t know who
    to ask.

  20. It’s awesome for me to have a web page, which is good for my experience.
    thanks admin

  21. I blog quite often and I really appreciate your content. This great article has really peaked my interest.
    I’m going to take a note of your blog and keep checking for new
    details about once per week. I opted in for your Feed as well.

  22. Wonderful blog! I found it while surfing around on Yahoo News.
    Do you have any suggestions on how to get listed in Yahoo
    News? I’ve been trying for a while but I never seem to get there!
    Many thanks

  23. Hi Dear, are you actually visiting this web
    site regularly, if so then you will absolutely obtain pleasant know-how.

  24. It’s the best time to make some plans for the future and it’s time to be happy.
    I’ve read this post and if I could I want to suggest you
    few interesting things or suggestions. Maybe you can write next articles
    referring to this article. I wish to read more things about it!

  25. First off I would like to say awesome blog! I had a quick question in which I’d like to ask if you don’t mind.
    I was curious to find out how you center yourself and clear your thoughts before writing.
    I have had a hard time clearing my mind in getting my ideas
    out there. I do take pleasure in writing however it just seems like the first 10 to 15 minutes are
    usually wasted simply just trying to figure out how to begin.
    Any suggestions or hints? Appreciate it!

  26. skvr.kiev.ua dice:

    Wow, superb weblog layout! How lengthy have you ever been running a
    blog for? you made blogging look easy. The entire look of your site is excellent, let alone the content material!

  27. gticlub.lv dice:

    Excellent post. Keep writing such kind of info on your site.

    Im really impressed by your site.
    Hi there, You have done an excellent job. I’ll certainly digg
    it and in my opinion suggest to my friends. I am sure they’ll be benefited from this
    web site.

  28. Thanks for sharing your thoughts. I really appreciate your
    efforts and I am waiting for your next post thanks once again.

  29. Hello to all, how is everything, I think every one is getting more from this
    web page, and your views are good in favor
    of new visitors.

  30. continuously i used to read smaller posts that as well clear their motive, and
    that is also happening with this post which I am reading now.

  31. 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 ideas for your
    blog you might be interested in hearing. Either way, great blog and I look
    forward to seeing it expand over time.

  32. I have read some good stuff here. Definitely price bookmarking for revisiting.
    I wonder how much attempt you put to create the
    sort of magnificent informative website.

  33. botdb.win dice:

    My brother recommended I might like this website. He was entirely right.

    This post truly made my day. You can not imagine simply
    how much time I had spent for this information! Thanks!

  34. I am curious to find out what blog system you have been working with?
    I’m experiencing some small security issues with my latest blog and I
    would like to find something more safe. Do you have any solutions?

  35. Hello, i think that i saw you visited my web site thus i
    came to “return the favor”.I am trying to find things to enhance my website!I suppose its ok to use
    some of your ideas!!

  36. Yesterday, while I was at work, my sister stole my iPad and
    tested to see if it can survive a 40 foot drop, just so she can be
    a youtube sensation. My iPad is now broken and she has 83 views.
    I know this is totally off topic but I had to share it with someone!

  37. Hi there very cool web site!! Guy .. Excellent ..
    Amazing .. I will bookmark your website and
    take the feeds also? I am happy to search out a lot of useful information here in the publish,
    we want develop extra strategies in this regard, thank you for
    sharing. . . . . .

  38. Hey I know this is off topic but I was wondering
    if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite
    some time and was hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading
    your blog and I look forward to your new updates.

  39. Hi there, this weekend is fastidious designed for me, as this moment
    i am reading this enormous informative paragraph here at my residence.

  40. Hi are using WordPress for your blog 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 knowledge to make your own blog?

    Any help would be really appreciated!

  41. myspace.com dice:

    Admiring the commitment you put into your blog and detailed information you offer.

    It’s good to come across a blog every once in a while that
    isn’t the same unwanted rehashed material. Fantastic read!
    I’ve saved your site and I’m adding your RSS feeds to my Google account.

  42. fantastic issues altogether, you simply gained a new reader.
    What might you suggest in regards to your post that you
    simply made some days ago? Any positive?

  43. Magnificent items from you, man. I have be aware your stuff prior to
    and you are simply extremely fantastic. I really
    like what you have obtained right here, certainly like what you are
    stating and the way through which you assert it. You make
    it entertaining and you continue to care for
    to keep it sensible. I cant wait to read far more from you.
    This is really a tremendous site.

  44. You ought to take part in a contest for one
    of the most useful sites online. I most certainly will recommend this website!

  45. I used to be suggested this blog by way of my cousin. I’m not positive
    whether or not this put up is written by him as
    nobody else recognize such certain approximately my trouble.
    You’re amazing! Thank you!

  46. Attractive section of content. I just stumbled upon your
    website and in accession capital to assert that I get in fact loved account your weblog posts.
    Anyway I’ll be subscribing in your augment and even I fulfillment
    you get right of entry to constantly fast.

  47. Having read this I thought it was extremely informative.

    I appreciate you finding the time and effort to put this article together.
    I once again find myself personally spending a significant amount of time both reading and leaving
    comments. But so what, it was still worth it!

  48. I am genuinely grateful to the holder of this site who has shared this wonderful article at at this place.

  49. Thanks for every other great post. The place else may just anybody get that type of info in such
    an ideal method of writing? I’ve a presentation subsequent
    week, and I am on the look for such info.

  50. Howdy! This blog post couldn’t be written much better!
    Reading through this article reminds me of my previous roommate!
    He continually kept preaching about this. I’ll forward this article to him.
    Fairly certain he’ll have a good read. Thanks for
    sharing!

Responder a discuss Cancelar la respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *