# How to install dotnet sdk on buildkite agent

**URL:** <https://forum.buildkite.community/t/how-to-install-dotnet-sdk-on-buildkite-agent/358>\
**Category:** General\
**Created:** [March 7, 2019, 4:01pm UTC](https://forum.buildkite.community/t/how-to-install-dotnet-sdk-on-buildkite-agent/358 "2019-03-07T16:01:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftaran](https://avatars.discourse-cdn.com/v4/letter/f/c77e96/32.png) [@ftaran](https://forum.buildkite.community/u/ftaran)\
**Post date:** [March 7, 2019, 4:01pm UTC](https://forum.buildkite.community/t/how-to-install-dotnet-sdk-on-buildkite-agent/358/1 "2019-03-07T16:01:21Z")

</div>

I would like to install dot net core sdk and cli so that I can build my .net solutions, what is the recommended way of doing this?

---

<div class="post-metadata">

**Author:** ![anon18197598](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@anon18197598](https://forum.buildkite.community/u/anon18197598)\
**Post date:** [March 8, 2019, 2:33am UTC](https://forum.buildkite.community/t/how-to-install-dotnet-sdk-on-buildkite-agent/358/2 "2019-03-08T02:33:10Z")

</div>

Hi @ftaran! Our agent is just a binary that you run on your hosts to execute builds. Depending on which user you run `buildkite-agent start` as on your host, you should have access to everything that user does on that machine. In your case, I’d suggest installing whatever .NET things you need on the host and checking that they work, and then running `buildkite-agent` on that machine.

The other approach here is to use docker. I believe there are .NET docker images now that you could use to run your builds in a repeatable way without depending on any software installed on the build host.

Hope that helps!
