# How to install Elastic License

**URL:** <https://discuss.elastic.co/t/how-to-install-elastic-license/58944>\
**Category:** Elasticsearch\
**Created:** [August 25, 2016, 2:32pm UTC](https://discuss.elastic.co/t/how-to-install-elastic-license/58944 "2016-08-25T14:32:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil\_Kumar1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anil_kumar1/32/13191_2.png) [@Anil\_Kumar1](https://discuss.elastic.co/u/Anil_Kumar1)\
**Post date:** [August 25, 2016, 2:32pm UTC](https://discuss.elastic.co/t/how-to-install-elastic-license/58944/1 "2016-08-25T14:32:27Z")

</div>

Hi All,

I have installed free trail elastic search in my laptop. now it has expired..i have the license in my laptop for 1 year , but i am not able to install it. I have tried unsing below script but its didnt work.  
curl -XPUT "[http://localhost:9200/\_license](http://localhost:9200/_license)" C:\Users\IBM\_ADMIN\Downloads\anil.json  
please help me out Thank you very much

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 26, 2016, 1:56am UTC](https://discuss.elastic.co/t/how-to-install-elastic-license/58944/2 "2016-08-26T01:56:48Z")

</div>

Read the exact syntax here: [https://www.elastic.co/guide/en/shield/2.3/license-management.html#installing-license](https://www.elastic.co/guide/en/shield/2.3/license-management.html#installing-license)

HTH

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:25pm UTC](https://discuss.elastic.co/t/how-to-install-elastic-license/58944/3 "2017-07-05T22:25:05Z")

</div>


