Vagrant聽vs聽Visual Studio Code

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Vagrant
Vagrant

4.5K
3.2K
+ 1
1.5K
Visual Studio Code
Visual Studio Code

15.3K
12.9K
+ 1
1.1K
Add tool

Vagrant vs Visual Studio Code: What are the differences?

What is Vagrant? A tool for building and distributing development environments. Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.

What is Visual Studio Code? Build and debug modern web and cloud applications, by Microsoft. Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.

Vagrant can be classified as a tool in the "Virtual Machine Management" category, while Visual Studio Code is grouped under "Text Editor".

"Development environments", "Simple bootstraping" and "Free" are the key factors why developers consider Vagrant; whereas "Powerful multilanguage IDE", "Fast" and "Front-end develop out of the box" are the primary reasons why Visual Studio Code is favored.

Vagrant and Visual Studio Code are both open source tools. Visual Studio Code with 78.4K GitHub stars and 10.9K forks on GitHub appears to be more popular than Vagrant with 18.6K GitHub stars and 3.74K GitHub forks.

According to the StackShare community, Visual Studio Code has a broader approval, being mentioned in 1104 company stacks & 2298 developers stacks; compared to Vagrant, which is listed in 802 company stacks and 475 developer stacks.

What is Vagrant?

Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.

What is Visual Studio Code?

Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Vagrant?
Why do developers choose Visual Studio Code?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use Vagrant?
What companies use Visual Studio Code?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Vagrant?
What tools integrate with Visual Studio Code?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Vagrant and Visual Studio Code?
VirtualBox
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2.
Ansible
Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible鈥檚 goals are foremost those of simplicity and maximum ease of use.
Packer
Packer automates the creation of any type of machine image. It embraces modern configuration management by encouraging you to use automated scripts to install and configure the software within your Packer-made images.
Terraform
With Terraform, you describe your complete infrastructure as code, even as it spans multiple service providers. Your servers may come from AWS, your DNS may come from CloudFlare, and your database may come from Heroku. Terraform will build all these resources across all these providers in parallel.
OpenStack
OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while empowering their users to provision resources through a web interface.
See all alternatives
Decisions about Vagrant and Visual Studio Code
Denys
Denys
Software engineer at Typeform | 7 upvotes 38.7K views
atTypeformTypeform
Docker Compose
Docker Compose
Docker
Docker
Git
Git
Vim
Vim
Visual Studio Code
Visual Studio Code
Go
Go
  • Go because it's easy and simple, facilitates collaboration , and also it's fast, scalable, powerful.
  • Visual Studio Code because it has one of the most sophisticated Go language support plugins.
  • Vim because it's Vim
  • Git because it's Git
  • Docker and Docker Compose because it's quick and easy to have reproducible builds/tests with them
  • @Archlinux (wtf it's not here?!) because Docker for Mac/Win is a disaster for the human's central nervous system, and Arch is the coolest Linux distro so far
See more
Atom
Atom
Visual Studio Code
Visual Studio Code

Before switching to Visual Studio Code, I used Atom. In contrast to Atom, Visual Studio Code is faster, provides more built-in features, and fails less often.

I started using Visual Studio Code because Atom was oftentimes extremely slow on even basic tasks, and there were bugs that could freeze the entire window if you dragged something the wrong way. Atom also didn't have as many integrated features as Visual Studio Code, so I had to find all of the best extensions. Even with the right tools available, many language extensions were frequently buggy, ineffective, and slow.

See more
Jacob Biehler
Jacob Biehler
Electron
Electron
TypeScript
TypeScript
Visual Studio Code
Visual Studio Code

I use Visual Studio Code because it is great out of the box, it has an integrated terminal, and support for quite a few languages. As a developer who works with TypeScript, their tooling is amazing in the VSCode Marketplace. The best part about VSCode is that can be as lightweight or as decked out as you want it to be. Even though a lot of other IDE's are Electron apps just like VSCode I find that VSCode boots up the fastest. I've tried other IDE's and I always find myself coming back to VSCode.

See more
Atom
Atom
AngularJS
AngularJS
Visual Studio Code
Visual Studio Code

Both are very good! But I started with Visual Studio Code when I started to work with AngularJS 4. I tried to use Atom too, but at that time Atom did not have good Angular plugins, in the other side VS Code has nice plugins for Angular. I do not know how is Atom now a days about this, but I think that it must have evolved.

See more
Dean Stringer
Dean Stringer
at Systemic Solutions | 6 upvotes 34.8K views
TypeScript
TypeScript
Electron
Electron
Atom
Atom
Eclipse
Eclipse
Visual Studio Code
Visual Studio Code

Have been a Visual Studio Code user since just after launch to the general public, having used the likes of Eclipse and Atom previously. Was amazed how mature it seemed off the bat and was super intrigued by the bootstrapped nature of it having been written/based on Electron/TypeScript, and of course being an open-source app from Microsoft. The features, plugin ecosystem and release frequency are very impressive. I do dev work on both Mac and Windows and don't use anything else now as far as IDEs go.

See more
Markdown
Markdown
Docker
Docker
JSON
JSON
TypeScript
TypeScript
Atom
Atom
Visual Studio Code
Visual Studio Code
Angular 2
Angular 2
#Sass
#HTML
#Java
#Typescript

More than year ago I was looking for the best editor of Angular 2 application and I've tried Visual Studio Code and Atom. Atom had performance issues that put me off completely to use it again. Visual Studio Code became my main editor #Typescript files (and partly editor of #Java files). I'm happy with Visual Studio Code and I've never look back on Atom. There wasn't any reason to try Atom again, because Visual Studio Code fulfills my requirements very well. I use it for editing of TypeScript, #HTML, #Sass, JSON, Docker and Markdown.

See more
Atom
Atom
Visual Studio Code
Visual Studio Code

Visual Studio Code became available around the time my Atom editor started frustrating with hitching and slowdowns. It was likely some plugin I had installed, but a similar setup in Visual Studio Code ran just fine.

Since then they've made massive improvements, and turned it into an excellent IDE overall. I use only a fraction of its functionality, but unless you use some very obscure language, you're likely to find support for it.

Even out of the box it already supports much of what I need, and it now even recommends suitable plugins in many situations.

See more
Justin Dorfman
Justin Dorfman
Developer Evangelist at StackShare | 8 upvotes 10.6K views
Atom
Atom
Visual Studio Code
Visual Studio Code

A few months ago, I decided I would try Visual Studio Code. I resisted for so long because I knew I would love it and would then have to find alternative extensions for the ones I have installed in Atom. Fast forward to today and I'm kicking myself for not doing it sooner.

Extensions that I use:

What VSCode extensions do you use? 馃憞

See more
Kyle Maune
Kyle Maune
Software Engineer at Cooper Aerial | 6 upvotes 9.6K views
Visual Studio Code
Visual Studio Code
Atom
Atom

I use Atom because it's been around long enough to have plugins for everything. It is very unlikely that there isn鈥檛 a plugin for your favorite language. It鈥檚 super easy to install plugins and packages (or to write your own!). The editor defaults are great: it鈥檚 the best default setup I鈥檝e ever seen for a text editor. One can download this thing and get working immediately.

At the end of the day, most modern text editors are great. I do love Visual Studio Code as well! I often find myself switching between the two for no other reason other than just because.

See more
AlexFielder
AlexFielder
Visual Studio Code
Visual Studio Code

I use Visual Studio Code because it's better than Emacs. For the past ~2 years I've been working with a language called 'CM' created by a company called CET. This language is around 15 years old and looks a lot like C#. VSCode was the obvious choice for me having come from a Visual Studio (VB.NET C#.NET) background as with the CM Extension I didn't need to learn and/or remember ANY of the Emacs shortcuts. This tool has proven so popular that amongst my fellow 'CM' developers, there are now over 900 downloads of the extension (around 10 of those at least being from my own systems/reinstalls etc.)

See more
Vijay Manchi
Vijay Manchi
at Yammer | 5 upvotes 56.5K views
atYammerYammer
Visual Studio Code
Visual Studio Code

I use Visual Studio Code because its fast, and has lot of extensions that makes development with many languages, frameworks and cloud services very easy. Also love the shortcut keys and the ability to customize the behavior of the IDE in lots of different ways. Another aspect of it thats nice is that it's very transparent. It allows us to see every piece of code, config etc. without automatically generating or hiding parts of it behind some GUI. So we will be exposed to every aspect of the development giving us better confidence and understanding of how the build, debugging, packaging, testing, publishing etc. works exactly.

See more
Julian Sanchez
Julian Sanchez
Lead Developer at Chore Champion | 8 upvotes 30K views
atChore ChampionChore Champion
Sublime Text
Sublime Text
Atom
Atom
Visual Studio Live Share
Visual Studio Live Share
Sublime Merge
Sublime Merge
Git
Git
Visual Studio Code
Visual Studio Code

We use Visual Studio Code because it allows us to easily and quickly integrate with Git, much like Sublime Merge ,but it is integrated into the IDE. Another cool part about VS Code is the ability collaborate with each other with Visual Studio Live Share which allows our whole team to get more done together. It brings the convenience of the Google Suite to programming, offering something that works more smoothly than anything found on Atom or Sublime Text

See more
Sublime Text
Sublime Text
Atom
Atom
Visual Studio Code
Visual Studio Code

I use Visual Studio Code because it is a super flexible code editor that can be customized to function like a full IDE. It has great git and terminal integrations out of the box compared to Atom and Sublime Text

It has so many extensions and boots up pretty fast even with all my extensions.

Feel free to checkout my settings: VS Code Settings

See more
Gustavo Mu帽oz
Gustavo Mu帽oz
Web UI Developer at Globant | 3 upvotes 27.3K views
TypeScript
TypeScript
Flutter
Flutter
React
React
Notepad++
Notepad++
Vim
Vim
Sublime Text
Sublime Text
Atom
Atom
Visual Studio Code
Visual Studio Code
#Microsoft
#RESTfulAPI

I have chosen Visual Studio Code after testing a lot of other editors like Atom, Sublime Text (with legal license), Vim or even Notepad++ because it is the sum of all their virtues and none of their defects. It's fast, it has all the tools and plugins I need to work, and it's pretty and very good optimized. It has what I need to work and nothing more. And the main plugins works like a charm. Developing for React or Flutter is amazing. Even the TypeScript plugin works great. I like how IntelliSense works, and all the extra tools to code remotely using #ssh, access #RESTfulAPI or event manage projects or collaborating remotely. Thanks #Microsoft for Visual Studio Code.

See more
Labinator Team
Labinator Team
at Labinator | 13 upvotes 68.6K views
atLabinatorLabinator
Debian
Debian
Manjaro
Manjaro
Visual Studio Code
Visual Studio Code
Sublime Text
Sublime Text
WordPress
WordPress
PHP
PHP
Vanilla.JS
Vanilla.JS
Sass
Sass
CSS 3
CSS 3
HTML5
HTML5

At labinator.com, we use HTML5, CSS 3, Sass, Vanilla.JS and PHP when building our premium WordPress themes and plugins. When writing our codes, we use Sublime Text and Visual Studio Code depending on the project. We run Manjaro and Debian operating systems in our office. Manjaro is a great desktop operating system for all range of tasks while Debian is a solid choice for servers.

WordPress became a very popular choice when it comes to content management systems and building websites. It is easy to learn and has a great community behind it. The high number of plugins as well that are available for WordPress allows any user to customize it depending on his/her needs.

For development, HTML5 with Sass is our go-to choice when building our themes.

Main Advantages Of Sass:

  • It's CSS syntax friendly
  • It offers variables
  • It uses a nested syntax
  • It includes mixins
  • Great community and online support.
  • Great documentation that is easy to read and follow.

As for PHP, we always thrive to use PHP 7.3+. After the introduction of PHP 7, the WordPress development process became more stable and reliable than before. If you a developer considering PHP 7.3+ for your project, it would be good to note the following benefits.

The Benefits Of Using PHP:

  • Open Source.
  • Highly Extendible.
  • Easy to learn and read.
  • Platform independent.
  • Compatible with APACHE.
  • Low development and maintenance cost.
  • Great community and support.
  • Detailed documentation that has everything you need!

Why PHP 7.3+?

  • Flexible Heredoc & Nowdoc Syntaxes - Two key methods for defining strings within PHP. They also became easier to read and more reliable.
  • A good boost in performance speed which is extremely important when it comes to WordPress development.
See more
Interest over time
Reviews of Vagrant and Visual Studio Code
Review ofVisual Studio CodeVisual Studio Code

Visual Studio Code takes writing code to the next level.

There is a great community out there, it is open source, it is lightning fast, and it just works out of the box.

It has a TON of useful extensions that can make the software do just about anything that you can imagine. It has GIT support directly within the software that doesn't require any extra plugins or configuration.

Review ofVisual Studio CodeVisual Studio Code

I have been using VS code to develop Angular 2 application, it is great a highly support of Angular Directives and Services within HTML tags. It ease the development process of understanding syntax as a beginner in web development

How developers use Vagrant and Visual Studio Code
Avatar of Airbnb
Airbnb uses VagrantVagrant

"The best way to ensure that local testing was possible was to normalize people鈥檚 dev environments. For this we chose Vagrant. This, combined with Chef, allows us to do our local dev in sandboxed Linux instances running locally via VirtualBox in a configuration as similar to production as possible. In addition to making dev environment setup much easier than it used to be, this ensures that each engineer has a consistent environment that is ready to run tests out of the box. The user SSHs into the local linux server and runs spec commands like they would on their host OS, and generally everything Just Works. Most people on our team combine this with Zeus, which allows the Rails environment to be preloaded for lightning fast (relatively speaking) test runs. Both Vagrant and Zeus have their share of issues, but in practice we鈥檝e found them to be a huge time saver."

Avatar of Mick Dekkers
Mick Dekkers uses Visual Studio CodeVisual Studio Code

I love how responsive VS Code is, and the out-of-the-box intelligent code completion it provides for many JavaScript libraries and frameworks has been a great boost to my productivity. We also have it to thank for pioneering the language server protocol, which allows the development of code intelligence tools for any editor or IDE.

Avatar of Matt Welke
Matt Welke uses Visual Studio CodeVisual Studio Code

Performant, flexible editor/IDE. My main programming languages (JavaScript, TypeScript and C#) have good support in it. Another language I plan to use more in the future, Go, has okay support right now which is improving.

Also, as a developer who prefers using Linux as a workstation OS, I appreciate it being cross-platform.

Avatar of Promethean TV
Promethean TV uses Visual Studio CodeVisual Studio Code

PrometheanTV builds applications and services utilizing a variety of languages and technologies. The Visual Studio Code IDE is used by various technical staff to build software on a variety of languages supported by the IDE including C#, HTML/CSS/JS, etc.

Avatar of David Flynn
David Flynn uses Visual Studio CodeVisual Studio Code

Increasingly we are using VS Code more and more. It is very handy for working on Javascript, Powershell scrips, TSQL, markdown etc. Often use it's integrated terminals for spinning up APIs, running off tests and running various scripts.

Avatar of GHA Technologies
GHA Technologies uses VagrantVagrant

Not blazing fast but we pick Vagrant for all our projects because the console mode without gui leads to a low consumption of ram memory making it the best way for DevOps ready environment requiring less configuration.

Avatar of Cyrus Stoller
Cyrus Stoller uses VagrantVagrant

Vagrant allows me to ensure that anyone I'm collaborating with will be able to test my web application in the same environment. I also use Vagrant to setup VMs that I can use to refine my Capistrano recipes.

Avatar of Dynamictivity
Dynamictivity uses VagrantVagrant

We use Virtualbox in combination with Vagrant during development to ensure a consistent test/development environment. This helps to reduce the number of defects when our software goes to production.

Avatar of Software Antelope
Software Antelope uses VagrantVagrant

Building development environments that closely match real world web environments, enabling more rapid and accurate testing and development.

How much does Vagrant cost?
How much does Visual Studio Code cost?
Pricing unavailable
Pricing unavailable