GitHub Copilot now controls your command line...

Sdílet
Vložit
  • čas přidán 26. 04. 2024
  • Learn how to become a Bash or PowerShell guru by using GitHub Copilot in the CLI. This new feature is a great way to learn Linux and Git commands without ever leaving your IDE.
    Check out the Fireship VS Code course fireship.io/courses/vscode-tr...
    GitHub copilot in the CLI github.blog/changelog/2024-03...
    FFmpeg in 100 Seconds • FFmpeg in 100 Seconds
  • Věda a technologie

Komentáře • 349

  • @armangrewal133
    @armangrewal133 Před měsícem +302

    Watching you still write "Hi, mom" in every video warms my heart

    • @Gaius_Julius_Caesar_Augustus
      @Gaius_Julius_Caesar_Augustus Před měsícem +41

      In case u didn't know, he talked about this in a community note a few months ago where he explained this. He said his mom knows nothing about programming but watches every video of his so he always says hi mom instead of hello world and after watching the video his mom always texts him, but then the texts stopped coming, she got sick, then really sick and then passed away at 60 so never forgot to say hi to your mom. That's what he said

    • @SamyarBorder
      @SamyarBorder Před měsícem +6

      @@Gaius_Julius_Caesar_Augustus damn bro :(

  • @codeiumdev
    @codeiumdev Před měsícem +632

    Thanks for the shoutout Fireship! We'd love to empower every developer with the power of AI -- for free. :)

    • @migueljara9399
      @migueljara9399 Před měsícem +34

      I love programming with your extension enabled. Thank you so much for keeping it free!

    • @4.0.4
      @4.0.4 Před měsícem +16

      Does it use local LLMs or is it some cloud thing?

    • @rohanp26
      @rohanp26 Před měsícem

      @@4.0.4 Codeium uses their own proprietary model in the cloud to generate suggestions - but they're really good about security practices -- You can opt out of telemetry and they don't train on your code snippets. If you upgrade - they also guarantee zero-day data retention.

    • @migueljara9399
      @migueljara9399 Před měsícem

      @@4.0.4 it's on the cloud

    • @ninjaasmoke
      @ninjaasmoke Před měsícem +15

      how do you make money? like even to sustain

  • @akj3344
    @akj3344 Před měsícem +289

    Unrelated but FFmpeg is one of the best tools ever.

  • @KevinHou22
    @KevinHou22 Před měsícem +226

    Codeium as a free alternative is game changer!!

  • @DemPilafian
    @DemPilafian Před měsícem +49

    AI is just a wrapper around regex. Regex became sentient back in 1992 with the first POSIX standard release.

    • @CVE42287
      @CVE42287 Před měsícem +1

      Average lukewarm take

  • @george_davituri
    @george_davituri Před měsícem +4

    combination of
    humor is the best part in Fireship content 🎉

  • @julianbelmarsh
    @julianbelmarsh Před měsícem +3

    Thanks for the Codeium tip! Why had I never heard of it before? I guess that's why I watch your videos all the time! 😉

  • @mrraptorious8090
    @mrraptorious8090 Před měsícem +227

    "gh copilot explain" is just the poor man's "man"
    change my mind

    • @fish3977
      @fish3977 Před měsícem +31

      as is the case with most AI hype.
      that being said, explaining what some messy code actually does isn't the worst thing though if you can't understand it yourself, you ought to think twice about running it anyways

    • @andresconrado
      @andresconrado Před měsícem

      Man pages never worked because computer scientists don't know that engineers can't read

    • @IIGrudge
      @IIGrudge Před měsícem +9

      Poor man's? I can't remember the last time I used man. Too verbose

    • @Drumonymus
      @Drumonymus Před měsícem +41

      Acutally the rich man's "man", since man is for free and copilot is not x)

    • @alexandrosanastasiou1964
      @alexandrosanastasiou1964 Před měsícem

      ​@@IIGrudgeit's called grep

  • @N0Xa880iUL
    @N0Xa880iUL Před měsícem +124

    😂 Thumbnail: rm -rf /*

    • @ammakr
      @ammakr Před měsícem +17

      He forgot sudo though

    • @nyanlauncher7350
      @nyanlauncher7350 Před měsícem +13

      Maybe he's already root user

    • @thetower8553
      @thetower8553 Před měsícem +7

      @@ammakrunless the madlad logs in as root

    • @JorgetePanete
      @JorgetePanete Před měsícem +12

      😂 Comment: 😂 Thumbnail: rm -rf /*

    • @noxfortes
      @noxfortes Před měsícem +10

      ​​@@JorgetePanete 😂 Reply: 😂 Comment: 😂 Thumbnail: rm -rf /*

  • @stevewinner
    @stevewinner Před měsícem +3

    You pronounced "gif" right, so don't worry about the haters... I love all your videos and you continue to kill it... No notes, keep doing it 😁

  • @Rametesaima
    @Rametesaima Před měsícem +52

    @0:03 You see "A bunch of incoherent text" while I see "The holy sigils of activation" ... blessed is the machine.

    • @Interpause
      @Interpause Před měsícem

      find all js files, grep anything with TODO, filter out the TODO part, sort & unique print all the TODOs
      couldve been faster with sort -u instead

    • @frankfralick7394
      @frankfralick7394 Před měsícem

      In all thy ways acknowledge the terminal.

    • @esmooth3983
      @esmooth3983 Před měsícem

      The Omnissiah knows all, comprehends all.

  • @chyldstudios
    @chyldstudios Před měsícem +22

    "gif" is pronounced with a HARD G ... so you are correct :)

  • @azeemhassni
    @azeemhassni Před měsícem +7

    I have been using the "Warp AI" for exactly tasks like these for about a year now. since it's integrated in your terminal it's way more convenient than copilot so far.

    • @aromia1832
      @aromia1832 Před měsícem

      agree and it's FREE to use

  • @xarchist
    @xarchist Před měsícem +15

    I basically wrote this already for myself. My version is a zsh plugin. I press a hotkey which opens vim. I type a prompt, save it, and close vim. It puts the gpt response on the command line. I can run the command or edit it. The command will show up in my history also.

    • @nathaaaaaa
      @nathaaaaaa Před měsícem +1

      Please share it if you can, sounds better than this official one

    • @xarchist
      @xarchist Před měsícem

      @@nathaaaaaa Here it is in a github gist: prog0101/91d302a796bf18331234ab0fbd9c16af

  • @liquidpebbles
    @liquidpebbles Před měsícem +6

    Hard G gif mentioned. Liked and subscribed!

  • @applecypro
    @applecypro Před měsícem +7

    "stuck in your computer for weeks trying to exit Vim" LOL thats me

  • @mycloudvip
    @mycloudvip Před měsícem

    Kindly notify me when Stripe course is available. Kudos for your awesome work and channel

  • @TommyLikeTom
    @TommyLikeTom Před měsícem +1

    I managed to follow this entire tutorial and it works great but I just don't know what I'll use this for. I'm sure it will be useful in the future

  • @FishKungfu
    @FishKungfu Před měsícem +11

    When I was a teenager, I was very excited about the promise of AI. As an old guy now, something about this big push for AI everywhere doesn’t feel right at all.

    • @joschmo4497
      @joschmo4497 Před měsícem

      Because it's a chimera, an illusion. It's there to establish control over information and data.

  • @brandonwinston
    @brandonwinston Před měsícem +27

    You gave me a flashback of the first time I tried to exit Vim 😂 just gave up and restarted my whole machine

    • @cmcdougle
      @cmcdougle Před měsícem +4

      I went one step further and rage quit

  • @matthewstahler6525
    @matthewstahler6525 Před měsícem

    That Steelseries mousepad tho ❤

  • @sajeucettefoistunevaspasme
    @sajeucettefoistunevaspasme Před měsícem +15

    A.I. can make it's own A.I. and run it directly from the command line great !

  • @steveman1982
    @steveman1982 Před měsícem

    This week I learned there is a vim playlist on spotify :)

  • @fille.imgnry
    @fille.imgnry Před měsícem +1

    +1 for Conan ref

  • @jeremysollars5922
    @jeremysollars5922 Před měsícem +1

    Will we be getting a preview of the stripe course? Id like to show it to my company so I could get sponsored to learn it

  • @eclypze_
    @eclypze_ Před měsícem

    closer and closer to the year of linux desktop...

  • @abdelbakiberkati
    @abdelbakiberkati Před měsícem

    I FINALLY EXITED VIM

  • @JustRollin
    @JustRollin Před měsícem

    On my Debian raspberry pi, I created a Python script that uses Claude 3's API. It's very nice getting AI support from inside the terminal.

  • @MickDavies
    @MickDavies Před měsícem +1

    Let's just appreciate how good Tropic Thunder is and how we'll never get a movie like that again 😢

  • @nathaaaaaa
    @nathaaaaaa Před měsícem +3

    We have had it for ages, it's called man

    • @kdaniel1995
      @kdaniel1995 Před měsícem

      this is the equivalent response to when chatgpt released with: "we have had it for ages, its called google".
      This tool will straight up be more efficient for most users as it prints you the direct answer you need without having to parse through the man page which it extremely verbose and can be very confusing.

  • @everyhandletaken
    @everyhandletaken Před měsícem +2

    Exiting Vim is easy, just force close the shell 😊

  • @-average
    @-average Před měsícem +4

    Studying regex was so gratifying until I got to the realization that I will never learn it

  • @RamirezGold
    @RamirezGold Před měsícem +1

    Looks like the already long available shell-gpt does the same but more. So, "gh copilot suggest" is only "sgpt -s" which is one function of sgpt.

  • @TommyLikeTom
    @TommyLikeTom Před měsícem +1

    Future software will be developed on the spot based on the users needs

  • @zeMasterRuseman
    @zeMasterRuseman Před měsícem +5

    Warp terminal had this feature for a while now

  • @Draxi_1
    @Draxi_1 Před měsícem

    One of the reasons I've been using Cursor.

  • @cbaesemanai
    @cbaesemanai Před měsícem

    I was just thinking about how bash should have this today

  • @4RILDIGITAL
    @4RILDIGITAL Před měsícem +1

    Impressive and informative video on how GitHub co-pilot CLI can enhance programming skills. The step-by-step explanation of how commands are created and explained by co-pilot is enlightening.

    • @bonaqua3076
      @bonaqua3076 Před měsícem +3

      Flagging u for ad 😂 Try harder next time

    • @paraboo5475
      @paraboo5475 Před měsícem +1

      Did you use copilot to write this comment

    • @KettLovahr
      @KettLovahr Před měsícem

      this is a great joke regardless of whether it's intentional

  • @vincentpelletier1246
    @vincentpelletier1246 Před měsícem

    The more videos this guy makes the more I realise his channel may be called "fireship" because that is what a lot of developers feel they have boarded in the last 2-3 years. A ship that's on fire, set for a destination that's most probably on fire also.

  • @vidbina
    @vidbina Před měsícem

    Does sgpt have an option to copy suggestions to clipboard? Idea for a weekend PR. 💡🤔

  • @edinchez
    @edinchez Před měsícem

    Cursor has had this for a while now

  • @AI-Hallucination
    @AI-Hallucination Před měsícem

    As a idiot who has zero experience on the command line this is amazing to fuck about with my computer just become something useful

  • @hyjuliekim
    @hyjuliekim Před měsícem

    "spending too much money on AI like me" hits hard when I have Photoshop, Acrobat, ChatGPT, Anthropic, Gemini and Colab Pro (why not train your own?) subscriptions atm

  • @collectitbydiyversity2442
    @collectitbydiyversity2442 Před měsícem

    I have the Stripe Payments JavaScript Course what is the différance from the new stripe course you're making ? And when will it be released?

  • @nhexplorers
    @nhexplorers Před měsícem

    PLEASE create a tutorial for a NOSTR app!!!

  • @Sakrosankt-Bierstube
    @Sakrosankt-Bierstube Před měsícem +1

    Just wanted to mention that Co-Pilot actually is nice, BUT... only because it actually "learns" what i've written befor and knows what i probably want to write. So.. it basically is a support tool because most of the "non me" suggestions are shit.. soo... our jobs are safe! :D

  • @4.0.4
    @4.0.4 Před měsícem +1

    Anyone who knows bash's many quirks knows this will be the source of infinite bugs in the future

  • @aleksd286
    @aleksd286 Před měsícem +1

    Never had a problem with VIM, always just restarted my computer if I accidentally opened it

  • @RM-xl1ed
    @RM-xl1ed Před měsícem

    this is pretty dope

  • @kellymoses8566
    @kellymoses8566 Před měsícem +2

    regex aren't that hard to write actually, just hard to read. But fancy stuff like back-reference is voodoo

  • @markmartinkovics2786
    @markmartinkovics2786 Před měsícem

    Nice thumbnail

  • @Jason-eo7xo
    @Jason-eo7xo Před měsícem

    Im so glad we have an ai cli to help us name directories because the whole world was suffering from this problem. Next is solving world hunger or a cure for cancer.

  • @SmirkInvestigator
    @SmirkInvestigator Před měsícem +1

    Don't care what the inventor trolled us with it's Guh-IF because Guh-raphical Interchange Format.

  • @samuelschwager
    @samuelschwager Před měsícem

    he pronounced gif correctly!

  • @sozzysucks
    @sozzysucks Před měsícem

    Do you know about warp terminal?

  • @yodancristino
    @yodancristino Před měsícem

    How different is it from FigIO's Fig (now Amazon Code Whisperer)?

  • @brian_ball
    @brian_ball Před měsícem +1

    37,669 views in 3 hours. another good one Jeff!

  • @chelseaGPT
    @chelseaGPT Před měsícem

    I think you can already do this with github copilot chat and just paste the command given usung the terminal button

  • @zuowang5185
    @zuowang5185 Před měsícem

    I’m used to throwing the stuff in copilot chat

  • @enderger5308
    @enderger5308 Před měsícem

    Ah finally, now I can get the wrong hibernate swapfile offset and blame something else for the loss of all my data.

  • @usernoneofyourbusiness
    @usernoneofyourbusiness Před měsícem

    Hey Fireship, what do you think about that AI software engineer that people have been talking about? Not “Devin”. “Lazy AI”

  • @GuidedBreathing
    @GuidedBreathing Před měsícem +1

    4:32 1 Hard G there 🧐

  • @yigitfindikli
    @yigitfindikli Před 29 dny

    Not working well on powershell. Always gives you bash commands, it's not detecting environment maybe I'm not sure. For WSL, Linux, or macos, it's a great tool for command line (I can confirm for wsl and macos.). Thanks a lot for the video!

  • @HumanoAI
    @HumanoAI Před měsícem

    GitHub Copilot still free for students? Could’ve been a good mention at end of.

  • @kylewollman2239
    @kylewollman2239 Před měsícem

    Pain is the only thing that hurts me too.

  • @stt.9433
    @stt.9433 Před měsícem

    This changes everything because now you don't need to spend hours reading through the man pages and if you want to do something you can simply ask it in simple English terms.

  • @SickoReaper
    @SickoReaper Před měsícem

    What ide is that? looks cool

  • @londonalexander7868
    @londonalexander7868 Před měsícem +2

    Codeium’s chat is also way better than Copilot’s

  • @sany2k8
    @sany2k8 Před měsícem

    Can we use GitHub copilot and codium parallely?

  • @yomajo
    @yomajo Před měsícem

    how to deal with explaining command, that uses both " and ' nested quotes?

  • @ToffeeMoney
    @ToffeeMoney Před měsícem

    warp terminal has been doing it

  • @toxiccan175
    @toxiccan175 Před měsícem +12

    If they wanted us to say GIF with a “j” sound, they should’ve used a “j”

  • @Kaldrax
    @Kaldrax Před měsícem

    I prefer to use atuin to search for commands I ran previously. Way faster than prompting an AI everytime. If I need explanations, I ask ChatGPT and copy&paste from there. Not everything needs AI directly integrated, especially if it’s so cumbersome implemented. An full AI terminal that automatically fixes typos in commands without special prompting needed would be a different story.

  • @skriptzurvorlesung4474
    @skriptzurvorlesung4474 Před měsícem

    Kann auch die KI von MS Copilot eingebunden werden?

  • @monara97
    @monara97 Před měsícem

    why not use WARP? which has this feature for a long time now

  • @raedkm
    @raedkm Před měsícem

    stuck and can't exit vim 😂😂😂 I feel the pain😂

  • @RavinduNanayakkara
    @RavinduNanayakkara Před měsícem +2

    The GitHub Next preview version of this product had ??, git?, gh? aliases and felt a bit more easier to use. Wonder why they got rid of that 🤔

  • @thisnotdog
    @thisnotdog Před měsícem

    was nice of you to say copilot is $10

  • @nocturne6320
    @nocturne6320 Před měsícem +6

    Codeium isn't just free, it's better

  • @LearnThroughVideos
    @LearnThroughVideos Před měsícem +2

    Why 2nd channel?

  • @WilliamM.Wallas
    @WilliamM.Wallas Před měsícem

    Is this same as Edge Copilot by Microsoft ?

  • @notreallyokay9355
    @notreallyokay9355 Před měsícem +2

    hasn't this been a thing for quite a while

  • @danielluper1408
    @danielluper1408 Před měsícem

    i use cope (copilot explain) and cops (copilot suggest) as my aliases

  • @cookiemonster208
    @cookiemonster208 Před měsícem

    I installed but don't automatically have access to copilot like the video says (and the official docs say). After five minutes of trying, I already give up.

  • @odishosamano5663
    @odishosamano5663 Před měsícem

    I made something like this like a year ago

  • @pigeon-fd5zq
    @pigeon-fd5zq Před měsícem

    Devin ai is more game changing for github copilot

  • @TheJimmyCartel
    @TheJimmyCartel Před měsícem

    Giga sponsored

  • @quintencabo
    @quintencabo Před měsícem +1

    Did we forget about man?

  • @mattmmilli8287
    @mattmmilli8287 Před měsícem

    I use all the tools but nope no way. Maybe after a year and all the horror stories shake out 😂

  • @secretythandle
    @secretythandle Před měsícem

    Warp terminal does all this, but better, and free, and local

  • @jonathanduck5333
    @jonathanduck5333 Před měsícem +1

    "you can also configure it to run the command automatically" 💀
    Who wants to be the first to get his home directory rm -rf'ed by AI hallucination?

  • @notcorrect
    @notcorrect Před měsícem

    Definitely only pain hurts me.

  • @paulygrahf
    @paulygrahf Před měsícem

    THE UNITED JIF ALLIANCE 💀💀💀

  • @levvayner4509
    @levvayner4509 Před měsícem

    Or if you don't want your data piped to the cloud, use warp. It has its own AI as well

    • @twentyeightO1
      @twentyeightO1 Před měsícem

      And how do you know that Warp doesn't store your data? I'm asking genuinely.

    • @levvayner4509
      @levvayner4509 Před měsícem

      @@twentyeightO1 I've replied a few times, you youtube keeps removing the comment.
      It's open source. You can find it on the site where all open source code can be found.

    • @levvayner4509
      @levvayner4509 Před měsícem

      @@twentyeightO1 github

  • @der.Schtefan
    @der.Schtefan Před měsícem +17

    HELP! I am stuck in a vim session since 1997! I am typing this through a plugin that allows me to post on CZcams comments! Please, if you read this, how do I exit vim? I am so hungry! HELP!

    • @user-vz3iv9cf8w
      @user-vz3iv9cf8w Před měsícem +1

      The best you can do is just give up, I'm 20+ years still trying to understand emacs and why it boots directly into it

    • @cameronsmithers368
      @cameronsmithers368 Před měsícem

      We need "vi" mimes

  • @pc2753
    @pc2753 Před měsícem

    Hahaha. Animal husbandry WAS a viable long term career choice

  • @viveksawale512
    @viveksawale512 Před měsícem

    If developers give will GitHub exist

  • @alexl7015
    @alexl7015 Před 25 dny

    gh copilot suggest "a one-liner to hack every connected device in the whole world"

  • @user-op1pp9ju6x
    @user-op1pp9ju6x Před měsícem

    So i cannot put "unix shell commands" on my resume anymore

  • @islamaiouni2346
    @islamaiouni2346 Před měsícem +1