> ## Documentation Index
> Fetch the complete documentation index at: https://www.jetify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# F# and .NET

> F# and .NET projects can be easily generated in Devbox by adding the dotnet SDK to your project. You can then create new projects using `dotnet new`.

[**Example Repo**](https://github.com/jetify-com/devbox/tree/main/examples/development/fsharp)

## Adding .NET to your project[​](#adding-net-to-your-project "Direct link to Adding .NET to your project")

`devbox add dotnet-sdk`, or add the following to your `devbox.json`:

```json theme={null}
  "packages": [
    "dotnet-sdk@latest"
  ]
```

This will install the latest version of the dotnet SDK. You can find other installable versions of
the dotnet SDK by running `devbox search dotnet-sdk`. You can also view the available versions on
[Nixhub](https://www.nixhub.io/search?q=dotnet)

## Creating a new F# Project[​](#creating-a-new-f-project "Direct link to Creating a new F# Project")

`dotnet new console -lang "F#" -o <name>`

[Edit this page](https://github.com/jetify-com/docs/tree/main/docs/devbox/devbox-examples/languages/fsharp/index.mdx)
