GitHub Copilot now controls your command line...

Поділитися
Вставка
  • Опубліковано 8 чер 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
  • Наука та технологія

КОМЕНТАРІ • 350

  • @armangrewal133
    @armangrewal133 2 місяці тому +303

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

    • @Gaius_Julius_Caesar_Augustus
      @Gaius_Julius_Caesar_Augustus 2 місяці тому +42

      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 2 місяці тому +6

      @@Gaius_Julius_Caesar_Augustus damn bro :(

  • @codeiumdev
    @codeiumdev 2 місяці тому +635

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

    • @migueljara9399
      @migueljara9399 2 місяці тому +34

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

    • @4.0.4
      @4.0.4 2 місяці тому +16

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

    • @rohanp26
      @rohanp26 2 місяці тому

      @@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 2 місяці тому

      @@4.0.4 it's on the cloud

    • @ninjaasmoke
      @ninjaasmoke 2 місяці тому +15

      how do you make money? like even to sustain

  • @akj3344
    @akj3344 2 місяці тому +288

    Unrelated but FFmpeg is one of the best tools ever.

    • @MePeterNicholls
      @MePeterNicholls 2 місяці тому +15

      And imagmagik

    • @thomassynths
      @thomassynths 2 місяці тому +2

      And photoshop

    • @JayDoge
      @JayDoge 2 місяці тому

      and yt-dlp ᵃⁿᵈ ᵐʸ ᵃˣᵉᵎ

    • @MePeterNicholls
      @MePeterNicholls 2 місяці тому

      @@thomassynths photoshop isn’t free, open source or command line.

    • @AdrianMark
      @AdrianMark 2 місяці тому +4

      What does ffmoeg do?

  • @KevinHou22
    @KevinHou22 2 місяці тому +226

    Codeium as a free alternative is game changer!!

  • @DemPilafian
    @DemPilafian 2 місяці тому +49

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

    • @CVE42287
      @CVE42287 2 місяці тому +1

      Average lukewarm take

  • @george_davituri
    @george_davituri 2 місяці тому +4

    combination of
    humor is the best part in Fireship content 🎉

  • @julianbelmarsh
    @julianbelmarsh 2 місяці тому +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 2 місяці тому +227

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

    • @fish3977
      @fish3977 2 місяці тому +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 2 місяці тому

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

    • @IIGrudge
      @IIGrudge 2 місяці тому +9

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

    • @Drumonymus
      @Drumonymus 2 місяці тому +41

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

    • @alexandrosanastasiou1964
      @alexandrosanastasiou1964 2 місяці тому

      ​@@IIGrudgeit's called grep

  • @stevewinner
    @stevewinner 2 місяці тому +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 😁

  • @N0Xa880iUL
    @N0Xa880iUL 2 місяці тому +124

    😂 Thumbnail: rm -rf /*

    • @ammakr
      @ammakr 2 місяці тому +17

      He forgot sudo though

    • @nyanlauncher7350
      @nyanlauncher7350 2 місяці тому +13

      Maybe he's already root user

    • @thetower8553
      @thetower8553 2 місяці тому +7

      @@ammakrunless the madlad logs in as root

    • @JorgetePanete
      @JorgetePanete 2 місяці тому +12

      😂 Comment: 😂 Thumbnail: rm -rf /*

    • @noxfortes
      @noxfortes 2 місяці тому +10

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

  • @Rametesaima
    @Rametesaima 2 місяці тому +52

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

    • @Interpause
      @Interpause 2 місяці тому

      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 2 місяці тому

      In all thy ways acknowledge the terminal.

    • @esmooth3983
      @esmooth3983 2 місяці тому

      The Omnissiah knows all, comprehends all.

  • @xarchist
    @xarchist 2 місяці тому +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 2 місяці тому +1

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

    • @xarchist
      @xarchist 2 місяці тому

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

  • @azeemhassni
    @azeemhassni 2 місяці тому +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 2 місяці тому

      agree and it's FREE to use

  • @chyldstudios
    @chyldstudios 2 місяці тому +22

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

    • @YuriG03042
      @YuriG03042 2 місяці тому +4

      me disagreeing purely for engagement

    • @BiGprOtein65g
      @BiGprOtein65g 2 місяці тому +1

      me who knows you dont have to say the G

    • @lkkhgdgfdljhkjfghjfg8766
      @lkkhgdgfdljhkjfghjfg8766 2 місяці тому +2

      Gerry the Gentle Giant German Giraffe says otherwise

  • @FishKungfu
    @FishKungfu 2 місяці тому +12

    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 2 місяці тому

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

  • @applecypro
    @applecypro 2 місяці тому +7

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

  • @liquidpebbles
    @liquidpebbles 2 місяці тому +6

    Hard G gif mentioned. Liked and subscribed!

  • @mycloudvip
    @mycloudvip 2 місяці тому

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

  • @TommyLikeTom
    @TommyLikeTom 2 місяці тому +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

  • @sajeucettefoistunevaspasme
    @sajeucettefoistunevaspasme 2 місяці тому +15

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

  • @jeremysollars5922
    @jeremysollars5922 2 місяці тому +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

  • @matthewstahler6525
    @matthewstahler6525 2 місяці тому

    That Steelseries mousepad tho ❤

  • @TommyLikeTom
    @TommyLikeTom 2 місяці тому +1

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

  • @RamirezGold
    @RamirezGold 2 місяці тому +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.

  • @brandonwinston
    @brandonwinston 2 місяці тому +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 2 місяці тому +4

      I went one step further and rage quit

  • @4RILDIGITAL
    @4RILDIGITAL 2 місяці тому +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 2 місяці тому +3

      Flagging u for ad 😂 Try harder next time

    • @paraboo5475
      @paraboo5475 2 місяці тому +1

      Did you use copilot to write this comment

    • @KettLovahr
      @KettLovahr 2 місяці тому

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

  • @steveman1982
    @steveman1982 2 місяці тому

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

  • @zeMasterRuseman
    @zeMasterRuseman 2 місяці тому +5

    Warp terminal had this feature for a while now

  • @JustRollin
    @JustRollin 2 місяці тому

    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.

  • @everyhandletaken
    @everyhandletaken 2 місяці тому +2

    Exiting Vim is easy, just force close the shell 😊

  • @fille.imgnry
    @fille.imgnry 2 місяці тому +1

    +1 for Conan ref

  • @vidbina
    @vidbina 2 місяці тому

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

  • @abdelbakiberkati
    @abdelbakiberkati 2 місяці тому

    I FINALLY EXITED VIM

  • @MickDavies
    @MickDavies 2 місяці тому +1

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

  • @nathaaaaaa
    @nathaaaaaa 2 місяці тому +3

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

    • @kdaniel1995
      @kdaniel1995 2 місяці тому

      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.

  • @eclypze_
    @eclypze_ 2 місяці тому

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

  • @-average
    @-average 2 місяці тому +4

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

  • @cbaesemanai
    @cbaesemanai 2 місяці тому

    I was just thinking about how bash should have this today

  • @edinchez
    @edinchez 2 місяці тому

    Cursor has had this for a while now

  • @Draxi_1
    @Draxi_1 2 місяці тому

    One of the reasons I've been using Cursor.

  • @collectitbydiyversity2442
    @collectitbydiyversity2442 2 місяці тому

    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?

  • @aleksd286
    @aleksd286 2 місяці тому +1

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

  • @yodancristino
    @yodancristino 2 місяці тому

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

  • @yomajo
    @yomajo 2 місяці тому

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

  • @sany2k8
    @sany2k8 2 місяці тому

    Can we use GitHub copilot and codium parallely?

  • @kellymoses8566
    @kellymoses8566 2 місяці тому +2

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

  • @chelseaGPT
    @chelseaGPT 2 місяці тому

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

  • @rosieposiebias
    @rosieposiebias 2 місяці тому

    "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

  • @skriptzurvorlesung4474
    @skriptzurvorlesung4474 2 місяці тому

    Kann auch die KI von MS Copilot eingebunden werden?

  • @Berkeli
    @Berkeli 2 місяці тому

    Warp terminal is worth a shout imo, it's excellent

  • @nhexplorers
    @nhexplorers 2 місяці тому

    PLEASE create a tutorial for a NOSTR app!!!

  • @yigitfindikli
    @yigitfindikli 2 місяці тому

    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!

  • @markmartinkovics2786
    @markmartinkovics2786 2 місяці тому

    Nice thumbnail

  • @zuowang5185
    @zuowang5185 2 місяці тому

    I’m used to throwing the stuff in copilot chat

  • @4.0.4
    @4.0.4 2 місяці тому +1

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

  • @usernoneofyourbusiness
    @usernoneofyourbusiness 2 місяці тому

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

  • @AI-Hallucination
    @AI-Hallucination 2 місяці тому

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

  • @monara97
    @monara97 2 місяці тому

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

  • @vincentpelletier1246
    @vincentpelletier1246 2 місяці тому

    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.

  • @SmirkInvestigator
    @SmirkInvestigator 2 місяці тому +1

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

  • @WilliamM.Wallas
    @WilliamM.Wallas 2 місяці тому

    Is this same as Edge Copilot by Microsoft ?

  • @RM-xl1ed
    @RM-xl1ed 2 місяці тому

    this is pretty dope

  • @alwaisy
    @alwaisy 2 місяці тому

    then way to undo if somehow wrong command was run.

  • @user-op1pp9ju6x
    @user-op1pp9ju6x 2 місяці тому

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

  • @HumanoAI
    @HumanoAI 2 місяці тому

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

  • @odishosamano5663
    @odishosamano5663 2 місяці тому

    I made something like this like a year ago

  • @Sakrosankt-Bierstube
    @Sakrosankt-Bierstube 2 місяці тому +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

  • @der.Schtefan
    @der.Schtefan 2 місяці тому +17

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

    • @Disturbed_face
      @Disturbed_face 2 місяці тому +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 2 місяці тому

      We need "vi" mimes

  • @SickoReaper
    @SickoReaper 2 місяці тому

    What ide is that? looks cool

  • @brian_ball
    @brian_ball 2 місяці тому +1

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

  • @ToffeeMoney
    @ToffeeMoney 2 місяці тому

    warp terminal has been doing it

  • @kylewollman2239
    @kylewollman2239 2 місяці тому

    Pain is the only thing that hurts me too.

  • @GuidedBreathing
    @GuidedBreathing 2 місяці тому +1

    4:32 1 Hard G there 🧐

  • @Jason-eo7xo
    @Jason-eo7xo 2 місяці тому

    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.

  • @aj-lan284
    @aj-lan284 2 місяці тому +2

    Why 2nd channel?

  • @amandin.
    @amandin. 25 днів тому

    vim mentioned

  • @nocturne6320
    @nocturne6320 2 місяці тому +7

    Codeium isn't just free, it's better

  • @RavinduNanayakkara
    @RavinduNanayakkara 2 місяці тому +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 🤔

  • @samuelschwager
    @samuelschwager 2 місяці тому

    he pronounced gif correctly!

  • @stt.9433
    @stt.9433 2 місяці тому

    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.

  • @xjtxjgsmnkccswlcdelqmms
    @xjtxjgsmnkccswlcdelqmms 2 місяці тому

    ask how to undo rm -rf /*

  • @londonalexander7868
    @londonalexander7868 2 місяці тому +2

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

  • @Kaldrax
    @Kaldrax 2 місяці тому

    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.

    • @xNoName1337
      @xNoName1337 2 місяці тому

      fellow atuin user respect

  • @enderger5308
    @enderger5308 2 місяці тому

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

  • @danielluper1408
    @danielluper1408 2 місяці тому

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

  • @raedkm
    @raedkm 2 місяці тому

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

  • @toxiccan175
    @toxiccan175 2 місяці тому +12

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

  • @notcorrect
    @notcorrect 2 місяці тому

    Definitely only pain hurts me.

  • @Dik131WZD
    @Dik131WZD 2 місяці тому

    Does Codeium have something like this?

    • @Dik131WZD
      @Dik131WZD 2 місяці тому

      I found. It calls Termium. Devs're just developing this feature

  • @FriendlessStudios
    @FriendlessStudios 2 місяці тому

    0:33 fr

  • @TheJimmyCartel
    @TheJimmyCartel 2 місяці тому

    Giga sponsored

  • @Megasteel32
    @Megasteel32 2 місяці тому

    yeah you lost me at install the github CLI. not switching

  • @Horopter
    @Horopter 2 місяці тому

    Any ETA on the next code report?

  • @secretythandle
    @secretythandle 2 місяці тому

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

  • @pigeon-fd5zq
    @pigeon-fd5zq 2 місяці тому

    Devin ai is more game changing for github copilot

  • @thisnotdog
    @thisnotdog 2 місяці тому

    was nice of you to say copilot is $10

  • @pc2753
    @pc2753 2 місяці тому

    Hahaha. Animal husbandry WAS a viable long term career choice

  • @levvayner4509
    @levvayner4509 2 місяці тому

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

    • @twentyeightO1
      @twentyeightO1 2 місяці тому

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

    • @levvayner4509
      @levvayner4509 2 місяці тому

      @@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 2 місяці тому

      @@twentyeightO1 github

  • @quintencabo
    @quintencabo 2 місяці тому +1

    Did we forget about man?

  • @faiyazrasul2050
    @faiyazrasul2050 2 місяці тому

    @8:29