github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/install/quickstart.mdx (about) 1 --- 2 layout: docs 3 page_title: Installing Nomad for QuickStart 4 sidebar_title: Quickstart 5 description: Learn how to install Nomad locally or in a sandbox. 6 --- 7 8 # Quickstart 9 10 This page lists multiple methods to installing Nomad locally or in a sandbox 11 environment. 12 13 These installations are designed to get you started with Nomad easily and should 14 be used only for experimentation purposes. If you are looking to install Nomad 15 in production, please refer to the [Production Installation](/docs/install/production) guide here. 16 17 <Tabs> 18 <Tab heading="Interactive Online Environment"> 19 20 Experiment with Nomad in your browser via Learn guides containing embedded Katacoda interactive learning environments. 21 22 - [Interactive Labs](https://learn.hashicorp.com/collections/nomad/interactive) 23 24 </Tab> 25 <Tab heading="Create a Cloud Lab"> 26 27 Install Nomad on the public cloud. 28 29 - AWS 30 31 - [CloudFormation](https://aws.amazon.com/quickstart/architecture/nomad/) 32 33 - [Terraform](https://github.com/hashicorp/nomad/blob/master/terraform/aws/README.md) 34 35 - Azure 36 37 - [Terraform](https://github.com/hashicorp/nomad/tree/master/terraform/azure) 38 39 </Tab> 40 <Tab heading="Try it Locally"> 41 42 ## Install Nomad on your machine 43 44 If you would like to try Nomad locally, you can install Nomad on your local 45 machine using the same steps that you would for a production environments and 46 run a single-node development instance using the `nomad agent -dev` command 47 48 [Installing Nomad][installing-binary] 49 50 ## Run Nomad in Vagrant 51 52 Alternatively, you can use a Vagrant to set up a development environment for Nomad. 53 Vagrant is a tool for building and managing virtual machine environments. 54 55 -> **Note**: To use the Vagrant environment, first install Vagrant following 56 these [instructions](https://www.vagrantup.com/docs/installation/). You will 57 also need a virtualization tool, such as [VirtualBox][]. 58 59 You can download a Vagrantfile which can start a small Nomad cluster. First 60 create a new directory for your Vagrant environment. 61 62 ```shell-session 63 $ mkdir nomad-vagrant 64 ``` 65 66 Change into the directory you made with the previous command. 67 68 ```shell-session 69 $ cd nomad-vagrant 70 ``` 71 72 Now you can get the Nomad installation configuration. 73 74 ```shell-session 75 $ curl -O https://raw.githubusercontent.com/hashicorp/nomad/master/demo/vagrant/Vagrantfile 76 ``` 77 78 Now that you have created a new directory and downloaded the `Vagrantfile` 79 you must create the virtual machine with the `vagrant up` command. 80 81 ```shell-session 82 $ vagrant up 83 ``` 84 85 This takes a few minutes as the base Ubuntu box must be downloaded 86 and provisioned with both Docker and Nomad. Once this completes, you should 87 see this output. 88 89 ```plaintext 90 Bringing machine 'default' up with 'virtualbox' provider... 91 ==> default: Importing base box 'bento/ubuntu-18.04'... 92 ... 93 ==> default: Running provisioner: docker... 94 ``` 95 96 At this point the Vagrant box is running and ready to go. 97 98 </Tab> 99 </Tabs> 100 101 [installing-binary]: /docs/install#precompiled-binaries 102 [vagrant-environment]: https://learn.hashicorp.com/tutorials/nomad/get-started-install#vagrant-setup-optional 103 [virtualbox]: https://www.virtualbox.org/