How to update VS Code on Ubuntu?












46














I downloaded the zip version of VS Code for Ubuntu (64-bit) and have been able to run it smoothly for some time. Some extensions have been installed too.



How can I efficiently update this VS Code installation? One thing I can think of is to just download the new zip and extract to the same location, just keeping the old "extensions" folder.



If I use the .deb version, would the same process be needed (download the new .deb every time there is an update?)










share|improve this question




















  • 4




    That's what I've been doing. About once a month I go to the website and download the new version and just install it over the old. Later VS Code has a software update checker built in now in the HELP menu. Cheers, Al
    – heynnema
    Oct 5 '16 at 23:07








  • 1




    Yes, the installed VS Code has that feature, but whenever there is an update -> it asks with a dialog -> send me to the download site ... It's still somewhat inconvenient.
    – ramcrys
    Oct 13 '16 at 12:34












  • Well yes... but we are talking about Microsoft, yes? I'm not aware of any PPA or repository for VS Code. Cheers, Al
    – heynnema
    Oct 13 '16 at 13:57










  • As of v1.10.1 Official signed repositories for Linux have been added. "This enables automatic updates using the platform's update mechanism."
    – Dinesh
    Mar 2 '17 at 10:23










  • @dinesh kool automatic updates
    – christianbueno.1
    Jul 14 '17 at 20:37
















46














I downloaded the zip version of VS Code for Ubuntu (64-bit) and have been able to run it smoothly for some time. Some extensions have been installed too.



How can I efficiently update this VS Code installation? One thing I can think of is to just download the new zip and extract to the same location, just keeping the old "extensions" folder.



If I use the .deb version, would the same process be needed (download the new .deb every time there is an update?)










share|improve this question




















  • 4




    That's what I've been doing. About once a month I go to the website and download the new version and just install it over the old. Later VS Code has a software update checker built in now in the HELP menu. Cheers, Al
    – heynnema
    Oct 5 '16 at 23:07








  • 1




    Yes, the installed VS Code has that feature, but whenever there is an update -> it asks with a dialog -> send me to the download site ... It's still somewhat inconvenient.
    – ramcrys
    Oct 13 '16 at 12:34












  • Well yes... but we are talking about Microsoft, yes? I'm not aware of any PPA or repository for VS Code. Cheers, Al
    – heynnema
    Oct 13 '16 at 13:57










  • As of v1.10.1 Official signed repositories for Linux have been added. "This enables automatic updates using the platform's update mechanism."
    – Dinesh
    Mar 2 '17 at 10:23










  • @dinesh kool automatic updates
    – christianbueno.1
    Jul 14 '17 at 20:37














46












46








46


32





I downloaded the zip version of VS Code for Ubuntu (64-bit) and have been able to run it smoothly for some time. Some extensions have been installed too.



How can I efficiently update this VS Code installation? One thing I can think of is to just download the new zip and extract to the same location, just keeping the old "extensions" folder.



If I use the .deb version, would the same process be needed (download the new .deb every time there is an update?)










share|improve this question















I downloaded the zip version of VS Code for Ubuntu (64-bit) and have been able to run it smoothly for some time. Some extensions have been installed too.



How can I efficiently update this VS Code installation? One thing I can think of is to just download the new zip and extract to the same location, just keeping the old "extensions" folder.



If I use the .deb version, would the same process be needed (download the new .deb every time there is an update?)







package-management visual-studio-code






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 8 '17 at 20:42









Zanna

50.3k13133241




50.3k13133241










asked Oct 5 '16 at 16:05









ramcrysramcrys

331145




331145








  • 4




    That's what I've been doing. About once a month I go to the website and download the new version and just install it over the old. Later VS Code has a software update checker built in now in the HELP menu. Cheers, Al
    – heynnema
    Oct 5 '16 at 23:07








  • 1




    Yes, the installed VS Code has that feature, but whenever there is an update -> it asks with a dialog -> send me to the download site ... It's still somewhat inconvenient.
    – ramcrys
    Oct 13 '16 at 12:34












  • Well yes... but we are talking about Microsoft, yes? I'm not aware of any PPA or repository for VS Code. Cheers, Al
    – heynnema
    Oct 13 '16 at 13:57










  • As of v1.10.1 Official signed repositories for Linux have been added. "This enables automatic updates using the platform's update mechanism."
    – Dinesh
    Mar 2 '17 at 10:23










  • @dinesh kool automatic updates
    – christianbueno.1
    Jul 14 '17 at 20:37














  • 4




    That's what I've been doing. About once a month I go to the website and download the new version and just install it over the old. Later VS Code has a software update checker built in now in the HELP menu. Cheers, Al
    – heynnema
    Oct 5 '16 at 23:07








  • 1




    Yes, the installed VS Code has that feature, but whenever there is an update -> it asks with a dialog -> send me to the download site ... It's still somewhat inconvenient.
    – ramcrys
    Oct 13 '16 at 12:34












  • Well yes... but we are talking about Microsoft, yes? I'm not aware of any PPA or repository for VS Code. Cheers, Al
    – heynnema
    Oct 13 '16 at 13:57










  • As of v1.10.1 Official signed repositories for Linux have been added. "This enables automatic updates using the platform's update mechanism."
    – Dinesh
    Mar 2 '17 at 10:23










  • @dinesh kool automatic updates
    – christianbueno.1
    Jul 14 '17 at 20:37








4




4




That's what I've been doing. About once a month I go to the website and download the new version and just install it over the old. Later VS Code has a software update checker built in now in the HELP menu. Cheers, Al
– heynnema
Oct 5 '16 at 23:07






That's what I've been doing. About once a month I go to the website and download the new version and just install it over the old. Later VS Code has a software update checker built in now in the HELP menu. Cheers, Al
– heynnema
Oct 5 '16 at 23:07






1




1




Yes, the installed VS Code has that feature, but whenever there is an update -> it asks with a dialog -> send me to the download site ... It's still somewhat inconvenient.
– ramcrys
Oct 13 '16 at 12:34






Yes, the installed VS Code has that feature, but whenever there is an update -> it asks with a dialog -> send me to the download site ... It's still somewhat inconvenient.
– ramcrys
Oct 13 '16 at 12:34














Well yes... but we are talking about Microsoft, yes? I'm not aware of any PPA or repository for VS Code. Cheers, Al
– heynnema
Oct 13 '16 at 13:57




Well yes... but we are talking about Microsoft, yes? I'm not aware of any PPA or repository for VS Code. Cheers, Al
– heynnema
Oct 13 '16 at 13:57












As of v1.10.1 Official signed repositories for Linux have been added. "This enables automatic updates using the platform's update mechanism."
– Dinesh
Mar 2 '17 at 10:23




As of v1.10.1 Official signed repositories for Linux have been added. "This enables automatic updates using the platform's update mechanism."
– Dinesh
Mar 2 '17 at 10:23












@dinesh kool automatic updates
– christianbueno.1
Jul 14 '17 at 20:37




@dinesh kool automatic updates
– christianbueno.1
Jul 14 '17 at 20:37










9 Answers
9






active

oldest

votes


















70














This works for me:



wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb
sudo dpkg -i /tmp/code_latest_amd64.deb


Throw those 2 steps in an executable bash script called auto-update-vscode and you can simply run that from your shell any time VS Code says it's out of date.






share|improve this answer



















  • 1




    THis made me have 2 VSCode now installed, I am on Ubuntu
    – Cassiano Montanari
    Jul 12 '18 at 11:36










  • For me, the old .deb was correctly replaced. @CassianoMontanari did you chose some other form of installation the first time?
    – user18099
    Nov 6 '18 at 15:27










  • @user18099 Yes, I installed VSCode via Software Center from Ubuntu. I formatted my PC since then, now on Ubuntu 18.04, installed VSCode only from Software Center.
    – Cassiano Montanari
    Nov 6 '18 at 17:07



















25














Vladimir S. posted the correct solution, although he didn't link directly to the section that had the answer. The direct link is here: https://code.visualstudio.com/updates/v1_10#_miscellaneous



For those who'd rather not click, here's the official solution per Microsoft:





Debian and Ubuntu based distributions



The easiest way to install for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit) either through the graphical software center if it's available or through the command line with:



sudo dpkg -i <file>.deb
sudo apt-get install -f # Install dependencies


Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the regular system update mechanism (apt update). Note that 32-bit and .tar.gz binaries are also available on the download page.



The repository and key can also be installed manually with the following script:



curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'


Then update the package cache and install the package using:



sudo apt-get update
sudo apt-get install code # or code-insiders





share|improve this answer































    6














    You don't have to download the package manually. You can just do:



    sudo apt-get update
    sudo apt-get install code


    source: https://code.visualstudio.com/docs/setup/linux






    share|improve this answer

















    • 1




      This is currently the best solution
      – GiorgosK
      Nov 17 '18 at 7:44










    • You missed the steps for adding the repository for this.
      – muru
      Dec 6 '18 at 6:44










    • @muru - that wasn't necessary when I posted this. Is it now?
      – Katinka Hesselink
      Dec 6 '18 at 9:09










    • Since there's no such package in the Ubuntu repositories, yes. packages.ubuntu.com/search?keywords=code Read your own link, the steps for adding the repository is just above the steps for installing.
      – muru
      Dec 6 '18 at 9:15










    • I don't see that. The question isn't about installing, but about updating.
      – Katinka Hesselink
      Dec 6 '18 at 10:46



















    3














    According to the issue Setup apt repository to enable OS-level updating on Debian-based systems #2973, the official PPA is still in progress.



    There are two PPA hosted on github and opensuse. You can use https://github.com/tagplus5/vscode-ppa before VSCode has its official PPA.






    share|improve this answer





























      3














      In true ms style, they decided to call the package just code. So download the lastest .deb and:



      sudo dpkg -r code
      sudo dpkg -i code_downloaded_package.deb


      Configuration, installed extensions and even currently used folder are preserved.






      share|improve this answer





















      • This method, just works!
        – Sivadass N
        Apr 11 '18 at 7:11










      • Thank you this worked for me. :)
        – Woppi
        Jun 18 '18 at 4:01



















      1














      Follow the steps given below :-




      1. Download the latest version of Visual Studio Code as a .deb package.


      2. Install GDebi Package Installer (if not installed).


      3. Then remove Visual Studio Code(older version) by opening its .deb package(which you downloaded earlier) using GDebi Package Installer and then click on "Remove Package" option.


      4. Then open the .deb package of the latest version of Visual Studio Code using GDebi Package Installer and click "Install Package" and install latest version of Visual Studio Code.



      All your configurations(packages installed and other customisations) in Visual Studio Code which you did earlier will be restored automatically even after following the above procedure. So you need not worry about installing the packages again. You will find those customisations and packages automatically in the latest version you have installed.



      Updating through this procedure doesn't remove/purge configuration files of Visual Studio Code and that's why, all your configurations in Visual Studio Code are restored.



      This procedure works also for other code editors like Sublime Text 3 and Atom. I have myself tested and verified it.






      share|improve this answer





























        1














        Since version 1.10.2 VS code has got the official signed repositories for Linux. Please look here






        share|improve this answer





























          0














          Use the script available in this repository:
          github.com/moeenz/vscode-updater






          share|improve this answer





























            -1














            Get the .deb file from https://code.visualstudio.com and run it from system package manager. Here's the official source link.






            share|improve this answer




















              protected by Anwar Sep 8 '18 at 15:28



              Thank you for your interest in this question.
              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



              Would you like to answer one of these unanswered questions instead?














              9 Answers
              9






              active

              oldest

              votes








              9 Answers
              9






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              70














              This works for me:



              wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb
              sudo dpkg -i /tmp/code_latest_amd64.deb


              Throw those 2 steps in an executable bash script called auto-update-vscode and you can simply run that from your shell any time VS Code says it's out of date.






              share|improve this answer



















              • 1




                THis made me have 2 VSCode now installed, I am on Ubuntu
                – Cassiano Montanari
                Jul 12 '18 at 11:36










              • For me, the old .deb was correctly replaced. @CassianoMontanari did you chose some other form of installation the first time?
                – user18099
                Nov 6 '18 at 15:27










              • @user18099 Yes, I installed VSCode via Software Center from Ubuntu. I formatted my PC since then, now on Ubuntu 18.04, installed VSCode only from Software Center.
                – Cassiano Montanari
                Nov 6 '18 at 17:07
















              70














              This works for me:



              wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb
              sudo dpkg -i /tmp/code_latest_amd64.deb


              Throw those 2 steps in an executable bash script called auto-update-vscode and you can simply run that from your shell any time VS Code says it's out of date.






              share|improve this answer



















              • 1




                THis made me have 2 VSCode now installed, I am on Ubuntu
                – Cassiano Montanari
                Jul 12 '18 at 11:36










              • For me, the old .deb was correctly replaced. @CassianoMontanari did you chose some other form of installation the first time?
                – user18099
                Nov 6 '18 at 15:27










              • @user18099 Yes, I installed VSCode via Software Center from Ubuntu. I formatted my PC since then, now on Ubuntu 18.04, installed VSCode only from Software Center.
                – Cassiano Montanari
                Nov 6 '18 at 17:07














              70












              70








              70






              This works for me:



              wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb
              sudo dpkg -i /tmp/code_latest_amd64.deb


              Throw those 2 steps in an executable bash script called auto-update-vscode and you can simply run that from your shell any time VS Code says it's out of date.






              share|improve this answer














              This works for me:



              wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb
              sudo dpkg -i /tmp/code_latest_amd64.deb


              Throw those 2 steps in an executable bash script called auto-update-vscode and you can simply run that from your shell any time VS Code says it's out of date.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Apr 22 '17 at 7:22









              Zanna

              50.3k13133241




              50.3k13133241










              answered Dec 15 '16 at 5:52









              Joe BergevinJoe Bergevin

              901179




              901179








              • 1




                THis made me have 2 VSCode now installed, I am on Ubuntu
                – Cassiano Montanari
                Jul 12 '18 at 11:36










              • For me, the old .deb was correctly replaced. @CassianoMontanari did you chose some other form of installation the first time?
                – user18099
                Nov 6 '18 at 15:27










              • @user18099 Yes, I installed VSCode via Software Center from Ubuntu. I formatted my PC since then, now on Ubuntu 18.04, installed VSCode only from Software Center.
                – Cassiano Montanari
                Nov 6 '18 at 17:07














              • 1




                THis made me have 2 VSCode now installed, I am on Ubuntu
                – Cassiano Montanari
                Jul 12 '18 at 11:36










              • For me, the old .deb was correctly replaced. @CassianoMontanari did you chose some other form of installation the first time?
                – user18099
                Nov 6 '18 at 15:27










              • @user18099 Yes, I installed VSCode via Software Center from Ubuntu. I formatted my PC since then, now on Ubuntu 18.04, installed VSCode only from Software Center.
                – Cassiano Montanari
                Nov 6 '18 at 17:07








              1




              1




              THis made me have 2 VSCode now installed, I am on Ubuntu
              – Cassiano Montanari
              Jul 12 '18 at 11:36




              THis made me have 2 VSCode now installed, I am on Ubuntu
              – Cassiano Montanari
              Jul 12 '18 at 11:36












              For me, the old .deb was correctly replaced. @CassianoMontanari did you chose some other form of installation the first time?
              – user18099
              Nov 6 '18 at 15:27




              For me, the old .deb was correctly replaced. @CassianoMontanari did you chose some other form of installation the first time?
              – user18099
              Nov 6 '18 at 15:27












              @user18099 Yes, I installed VSCode via Software Center from Ubuntu. I formatted my PC since then, now on Ubuntu 18.04, installed VSCode only from Software Center.
              – Cassiano Montanari
              Nov 6 '18 at 17:07




              @user18099 Yes, I installed VSCode via Software Center from Ubuntu. I formatted my PC since then, now on Ubuntu 18.04, installed VSCode only from Software Center.
              – Cassiano Montanari
              Nov 6 '18 at 17:07













              25














              Vladimir S. posted the correct solution, although he didn't link directly to the section that had the answer. The direct link is here: https://code.visualstudio.com/updates/v1_10#_miscellaneous



              For those who'd rather not click, here's the official solution per Microsoft:





              Debian and Ubuntu based distributions



              The easiest way to install for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit) either through the graphical software center if it's available or through the command line with:



              sudo dpkg -i <file>.deb
              sudo apt-get install -f # Install dependencies


              Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the regular system update mechanism (apt update). Note that 32-bit and .tar.gz binaries are also available on the download page.



              The repository and key can also be installed manually with the following script:



              curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
              sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
              sudo sh -c 'echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'


              Then update the package cache and install the package using:



              sudo apt-get update
              sudo apt-get install code # or code-insiders





              share|improve this answer




























                25














                Vladimir S. posted the correct solution, although he didn't link directly to the section that had the answer. The direct link is here: https://code.visualstudio.com/updates/v1_10#_miscellaneous



                For those who'd rather not click, here's the official solution per Microsoft:





                Debian and Ubuntu based distributions



                The easiest way to install for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit) either through the graphical software center if it's available or through the command line with:



                sudo dpkg -i <file>.deb
                sudo apt-get install -f # Install dependencies


                Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the regular system update mechanism (apt update). Note that 32-bit and .tar.gz binaries are also available on the download page.



                The repository and key can also be installed manually with the following script:



                curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
                sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
                sudo sh -c 'echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'


                Then update the package cache and install the package using:



                sudo apt-get update
                sudo apt-get install code # or code-insiders





                share|improve this answer


























                  25












                  25








                  25






                  Vladimir S. posted the correct solution, although he didn't link directly to the section that had the answer. The direct link is here: https://code.visualstudio.com/updates/v1_10#_miscellaneous



                  For those who'd rather not click, here's the official solution per Microsoft:





                  Debian and Ubuntu based distributions



                  The easiest way to install for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit) either through the graphical software center if it's available or through the command line with:



                  sudo dpkg -i <file>.deb
                  sudo apt-get install -f # Install dependencies


                  Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the regular system update mechanism (apt update). Note that 32-bit and .tar.gz binaries are also available on the download page.



                  The repository and key can also be installed manually with the following script:



                  curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
                  sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
                  sudo sh -c 'echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'


                  Then update the package cache and install the package using:



                  sudo apt-get update
                  sudo apt-get install code # or code-insiders





                  share|improve this answer














                  Vladimir S. posted the correct solution, although he didn't link directly to the section that had the answer. The direct link is here: https://code.visualstudio.com/updates/v1_10#_miscellaneous



                  For those who'd rather not click, here's the official solution per Microsoft:





                  Debian and Ubuntu based distributions



                  The easiest way to install for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit) either through the graphical software center if it's available or through the command line with:



                  sudo dpkg -i <file>.deb
                  sudo apt-get install -f # Install dependencies


                  Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the regular system update mechanism (apt update). Note that 32-bit and .tar.gz binaries are also available on the download page.



                  The repository and key can also be installed manually with the following script:



                  curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
                  sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
                  sudo sh -c 'echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'


                  Then update the package cache and install the package using:



                  sudo apt-get update
                  sudo apt-get install code # or code-insiders






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 17 '17 at 23:31

























                  answered Apr 17 '17 at 17:13









                  Don CullenDon Cullen

                  35136




                  35136























                      6














                      You don't have to download the package manually. You can just do:



                      sudo apt-get update
                      sudo apt-get install code


                      source: https://code.visualstudio.com/docs/setup/linux






                      share|improve this answer

















                      • 1




                        This is currently the best solution
                        – GiorgosK
                        Nov 17 '18 at 7:44










                      • You missed the steps for adding the repository for this.
                        – muru
                        Dec 6 '18 at 6:44










                      • @muru - that wasn't necessary when I posted this. Is it now?
                        – Katinka Hesselink
                        Dec 6 '18 at 9:09










                      • Since there's no such package in the Ubuntu repositories, yes. packages.ubuntu.com/search?keywords=code Read your own link, the steps for adding the repository is just above the steps for installing.
                        – muru
                        Dec 6 '18 at 9:15










                      • I don't see that. The question isn't about installing, but about updating.
                        – Katinka Hesselink
                        Dec 6 '18 at 10:46
















                      6














                      You don't have to download the package manually. You can just do:



                      sudo apt-get update
                      sudo apt-get install code


                      source: https://code.visualstudio.com/docs/setup/linux






                      share|improve this answer

















                      • 1




                        This is currently the best solution
                        – GiorgosK
                        Nov 17 '18 at 7:44










                      • You missed the steps for adding the repository for this.
                        – muru
                        Dec 6 '18 at 6:44










                      • @muru - that wasn't necessary when I posted this. Is it now?
                        – Katinka Hesselink
                        Dec 6 '18 at 9:09










                      • Since there's no such package in the Ubuntu repositories, yes. packages.ubuntu.com/search?keywords=code Read your own link, the steps for adding the repository is just above the steps for installing.
                        – muru
                        Dec 6 '18 at 9:15










                      • I don't see that. The question isn't about installing, but about updating.
                        – Katinka Hesselink
                        Dec 6 '18 at 10:46














                      6












                      6








                      6






                      You don't have to download the package manually. You can just do:



                      sudo apt-get update
                      sudo apt-get install code


                      source: https://code.visualstudio.com/docs/setup/linux






                      share|improve this answer












                      You don't have to download the package manually. You can just do:



                      sudo apt-get update
                      sudo apt-get install code


                      source: https://code.visualstudio.com/docs/setup/linux







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 17 '18 at 15:02









                      Katinka HesselinkKatinka Hesselink

                      16912




                      16912








                      • 1




                        This is currently the best solution
                        – GiorgosK
                        Nov 17 '18 at 7:44










                      • You missed the steps for adding the repository for this.
                        – muru
                        Dec 6 '18 at 6:44










                      • @muru - that wasn't necessary when I posted this. Is it now?
                        – Katinka Hesselink
                        Dec 6 '18 at 9:09










                      • Since there's no such package in the Ubuntu repositories, yes. packages.ubuntu.com/search?keywords=code Read your own link, the steps for adding the repository is just above the steps for installing.
                        – muru
                        Dec 6 '18 at 9:15










                      • I don't see that. The question isn't about installing, but about updating.
                        – Katinka Hesselink
                        Dec 6 '18 at 10:46














                      • 1




                        This is currently the best solution
                        – GiorgosK
                        Nov 17 '18 at 7:44










                      • You missed the steps for adding the repository for this.
                        – muru
                        Dec 6 '18 at 6:44










                      • @muru - that wasn't necessary when I posted this. Is it now?
                        – Katinka Hesselink
                        Dec 6 '18 at 9:09










                      • Since there's no such package in the Ubuntu repositories, yes. packages.ubuntu.com/search?keywords=code Read your own link, the steps for adding the repository is just above the steps for installing.
                        – muru
                        Dec 6 '18 at 9:15










                      • I don't see that. The question isn't about installing, but about updating.
                        – Katinka Hesselink
                        Dec 6 '18 at 10:46








                      1




                      1




                      This is currently the best solution
                      – GiorgosK
                      Nov 17 '18 at 7:44




                      This is currently the best solution
                      – GiorgosK
                      Nov 17 '18 at 7:44












                      You missed the steps for adding the repository for this.
                      – muru
                      Dec 6 '18 at 6:44




                      You missed the steps for adding the repository for this.
                      – muru
                      Dec 6 '18 at 6:44












                      @muru - that wasn't necessary when I posted this. Is it now?
                      – Katinka Hesselink
                      Dec 6 '18 at 9:09




                      @muru - that wasn't necessary when I posted this. Is it now?
                      – Katinka Hesselink
                      Dec 6 '18 at 9:09












                      Since there's no such package in the Ubuntu repositories, yes. packages.ubuntu.com/search?keywords=code Read your own link, the steps for adding the repository is just above the steps for installing.
                      – muru
                      Dec 6 '18 at 9:15




                      Since there's no such package in the Ubuntu repositories, yes. packages.ubuntu.com/search?keywords=code Read your own link, the steps for adding the repository is just above the steps for installing.
                      – muru
                      Dec 6 '18 at 9:15












                      I don't see that. The question isn't about installing, but about updating.
                      – Katinka Hesselink
                      Dec 6 '18 at 10:46




                      I don't see that. The question isn't about installing, but about updating.
                      – Katinka Hesselink
                      Dec 6 '18 at 10:46











                      3














                      According to the issue Setup apt repository to enable OS-level updating on Debian-based systems #2973, the official PPA is still in progress.



                      There are two PPA hosted on github and opensuse. You can use https://github.com/tagplus5/vscode-ppa before VSCode has its official PPA.






                      share|improve this answer


























                        3














                        According to the issue Setup apt repository to enable OS-level updating on Debian-based systems #2973, the official PPA is still in progress.



                        There are two PPA hosted on github and opensuse. You can use https://github.com/tagplus5/vscode-ppa before VSCode has its official PPA.






                        share|improve this answer
























                          3












                          3








                          3






                          According to the issue Setup apt repository to enable OS-level updating on Debian-based systems #2973, the official PPA is still in progress.



                          There are two PPA hosted on github and opensuse. You can use https://github.com/tagplus5/vscode-ppa before VSCode has its official PPA.






                          share|improve this answer












                          According to the issue Setup apt repository to enable OS-level updating on Debian-based systems #2973, the official PPA is still in progress.



                          There are two PPA hosted on github and opensuse. You can use https://github.com/tagplus5/vscode-ppa before VSCode has its official PPA.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Oct 29 '16 at 3:48









                          Kirin LinKirin Lin

                          312




                          312























                              3














                              In true ms style, they decided to call the package just code. So download the lastest .deb and:



                              sudo dpkg -r code
                              sudo dpkg -i code_downloaded_package.deb


                              Configuration, installed extensions and even currently used folder are preserved.






                              share|improve this answer





















                              • This method, just works!
                                – Sivadass N
                                Apr 11 '18 at 7:11










                              • Thank you this worked for me. :)
                                – Woppi
                                Jun 18 '18 at 4:01
















                              3














                              In true ms style, they decided to call the package just code. So download the lastest .deb and:



                              sudo dpkg -r code
                              sudo dpkg -i code_downloaded_package.deb


                              Configuration, installed extensions and even currently used folder are preserved.






                              share|improve this answer





















                              • This method, just works!
                                – Sivadass N
                                Apr 11 '18 at 7:11










                              • Thank you this worked for me. :)
                                – Woppi
                                Jun 18 '18 at 4:01














                              3












                              3








                              3






                              In true ms style, they decided to call the package just code. So download the lastest .deb and:



                              sudo dpkg -r code
                              sudo dpkg -i code_downloaded_package.deb


                              Configuration, installed extensions and even currently used folder are preserved.






                              share|improve this answer












                              In true ms style, they decided to call the package just code. So download the lastest .deb and:



                              sudo dpkg -r code
                              sudo dpkg -i code_downloaded_package.deb


                              Configuration, installed extensions and even currently used folder are preserved.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Dec 15 '16 at 15:27









                              MarcMarc

                              28634




                              28634












                              • This method, just works!
                                – Sivadass N
                                Apr 11 '18 at 7:11










                              • Thank you this worked for me. :)
                                – Woppi
                                Jun 18 '18 at 4:01


















                              • This method, just works!
                                – Sivadass N
                                Apr 11 '18 at 7:11










                              • Thank you this worked for me. :)
                                – Woppi
                                Jun 18 '18 at 4:01
















                              This method, just works!
                              – Sivadass N
                              Apr 11 '18 at 7:11




                              This method, just works!
                              – Sivadass N
                              Apr 11 '18 at 7:11












                              Thank you this worked for me. :)
                              – Woppi
                              Jun 18 '18 at 4:01




                              Thank you this worked for me. :)
                              – Woppi
                              Jun 18 '18 at 4:01











                              1














                              Follow the steps given below :-




                              1. Download the latest version of Visual Studio Code as a .deb package.


                              2. Install GDebi Package Installer (if not installed).


                              3. Then remove Visual Studio Code(older version) by opening its .deb package(which you downloaded earlier) using GDebi Package Installer and then click on "Remove Package" option.


                              4. Then open the .deb package of the latest version of Visual Studio Code using GDebi Package Installer and click "Install Package" and install latest version of Visual Studio Code.



                              All your configurations(packages installed and other customisations) in Visual Studio Code which you did earlier will be restored automatically even after following the above procedure. So you need not worry about installing the packages again. You will find those customisations and packages automatically in the latest version you have installed.



                              Updating through this procedure doesn't remove/purge configuration files of Visual Studio Code and that's why, all your configurations in Visual Studio Code are restored.



                              This procedure works also for other code editors like Sublime Text 3 and Atom. I have myself tested and verified it.






                              share|improve this answer


























                                1














                                Follow the steps given below :-




                                1. Download the latest version of Visual Studio Code as a .deb package.


                                2. Install GDebi Package Installer (if not installed).


                                3. Then remove Visual Studio Code(older version) by opening its .deb package(which you downloaded earlier) using GDebi Package Installer and then click on "Remove Package" option.


                                4. Then open the .deb package of the latest version of Visual Studio Code using GDebi Package Installer and click "Install Package" and install latest version of Visual Studio Code.



                                All your configurations(packages installed and other customisations) in Visual Studio Code which you did earlier will be restored automatically even after following the above procedure. So you need not worry about installing the packages again. You will find those customisations and packages automatically in the latest version you have installed.



                                Updating through this procedure doesn't remove/purge configuration files of Visual Studio Code and that's why, all your configurations in Visual Studio Code are restored.



                                This procedure works also for other code editors like Sublime Text 3 and Atom. I have myself tested and verified it.






                                share|improve this answer
























                                  1












                                  1








                                  1






                                  Follow the steps given below :-




                                  1. Download the latest version of Visual Studio Code as a .deb package.


                                  2. Install GDebi Package Installer (if not installed).


                                  3. Then remove Visual Studio Code(older version) by opening its .deb package(which you downloaded earlier) using GDebi Package Installer and then click on "Remove Package" option.


                                  4. Then open the .deb package of the latest version of Visual Studio Code using GDebi Package Installer and click "Install Package" and install latest version of Visual Studio Code.



                                  All your configurations(packages installed and other customisations) in Visual Studio Code which you did earlier will be restored automatically even after following the above procedure. So you need not worry about installing the packages again. You will find those customisations and packages automatically in the latest version you have installed.



                                  Updating through this procedure doesn't remove/purge configuration files of Visual Studio Code and that's why, all your configurations in Visual Studio Code are restored.



                                  This procedure works also for other code editors like Sublime Text 3 and Atom. I have myself tested and verified it.






                                  share|improve this answer












                                  Follow the steps given below :-




                                  1. Download the latest version of Visual Studio Code as a .deb package.


                                  2. Install GDebi Package Installer (if not installed).


                                  3. Then remove Visual Studio Code(older version) by opening its .deb package(which you downloaded earlier) using GDebi Package Installer and then click on "Remove Package" option.


                                  4. Then open the .deb package of the latest version of Visual Studio Code using GDebi Package Installer and click "Install Package" and install latest version of Visual Studio Code.



                                  All your configurations(packages installed and other customisations) in Visual Studio Code which you did earlier will be restored automatically even after following the above procedure. So you need not worry about installing the packages again. You will find those customisations and packages automatically in the latest version you have installed.



                                  Updating through this procedure doesn't remove/purge configuration files of Visual Studio Code and that's why, all your configurations in Visual Studio Code are restored.



                                  This procedure works also for other code editors like Sublime Text 3 and Atom. I have myself tested and verified it.







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Oct 29 '16 at 4:26









                                  Gautam VashishtGautam Vashisht

                                  1,84011221




                                  1,84011221























                                      1














                                      Since version 1.10.2 VS code has got the official signed repositories for Linux. Please look here






                                      share|improve this answer


























                                        1














                                        Since version 1.10.2 VS code has got the official signed repositories for Linux. Please look here






                                        share|improve this answer
























                                          1












                                          1








                                          1






                                          Since version 1.10.2 VS code has got the official signed repositories for Linux. Please look here






                                          share|improve this answer












                                          Since version 1.10.2 VS code has got the official signed repositories for Linux. Please look here







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Mar 13 '17 at 16:18









                                          Vladimir S.Vladimir S.

                                          55258




                                          55258























                                              0














                                              Use the script available in this repository:
                                              github.com/moeenz/vscode-updater






                                              share|improve this answer


























                                                0














                                                Use the script available in this repository:
                                                github.com/moeenz/vscode-updater






                                                share|improve this answer
























                                                  0












                                                  0








                                                  0






                                                  Use the script available in this repository:
                                                  github.com/moeenz/vscode-updater






                                                  share|improve this answer












                                                  Use the script available in this repository:
                                                  github.com/moeenz/vscode-updater







                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered Feb 20 '17 at 20:39









                                                  UnknownUnknown

                                                  91




                                                  91























                                                      -1














                                                      Get the .deb file from https://code.visualstudio.com and run it from system package manager. Here's the official source link.






                                                      share|improve this answer


























                                                        -1














                                                        Get the .deb file from https://code.visualstudio.com and run it from system package manager. Here's the official source link.






                                                        share|improve this answer
























                                                          -1












                                                          -1








                                                          -1






                                                          Get the .deb file from https://code.visualstudio.com and run it from system package manager. Here's the official source link.






                                                          share|improve this answer












                                                          Get the .deb file from https://code.visualstudio.com and run it from system package manager. Here's the official source link.







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Sep 8 '18 at 14:28









                                                          Abhishek SinhaAbhishek Sinha

                                                          992




                                                          992

















                                                              protected by Anwar Sep 8 '18 at 15:28



                                                              Thank you for your interest in this question.
                                                              Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                                              Would you like to answer one of these unanswered questions instead?



                                                              Popular posts from this blog

                                                              Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                                                              ComboBox Display Member on multiple fields

                                                              Is it possible to collect Nectar points via Trainline?