# Install Frameworks
Source: https://docs.chain.link/resources/create-a-chainlinked-project

> For the complete documentation index, see [llms.txt](/llms.txt).

![Starter kit logos](/images/starter-kit-images/starter-kits.webp)

You can install and use Chainlink in your projects either manually or by using the [Chainlink Starter Kits](https://github.com/smartcontractkit/starter-kits). Once you have the Chainlink library installed, you can more easily access the Chainlink ecosystem.

> **NOTE: Important**
>
> If you're new to smart contract development and want a step-by-step guide, try out our [Getting Started](/getting-started/conceptual-overview) guide.

## Installing into existing projects

Chainlink is supported by [Hardhat](http://hardhat.org), [Brownie](https://eth-brownie.readthedocs.io/en/stable), [Truffle](https://www.trufflesuite.com), and other frameworks.

If you already have a project, install the [@chainlink/contracts](https://www.npmjs.com/package/@chainlink/contracts) NPM package.

### NPM

Install using [NPM](https://www.npmjs.com/):

```shell npm
npm install @chainlink/contracts --save
```

### Yarn

Install using [Yarn](https://yarnpkg.com/):

```shell yarn
yarn add @chainlink/contracts
```

## Create a new project

If you're creating a new project from scratch, these commands will help you set up your project to interact with Chainlink tools and features via the use of our Starter Kits.

### Hardhat Starter Kit

For the latest instructions, see the following repositories:

- [Hardhat Starter Kit](https://github.com/smartcontractkit/hardhat-starter-kit)
- [Hardhat Starter Kit (TypeScript)](https://github.com/smartcontractkit/hardhat-starter-kit/tree/typescript)

To learn more about Hardhat, read the [Hardhat Documentation](https://hardhat.org/getting-started/).

For more details on how to use Chainlink with Hardhat, see the blog post for [How to use Hardhat with Chainlink](https://blog.chain.link/using-chainlink-with-hardhat/).

### Brownie Starter Kit

For the latest instructions, see the [Brownie Starter Kit](https://github.com/smartcontractkit/chainlink-mix) repository.

To learn more about Brownie, read the [Brownie Documentation](https://eth-brownie.readthedocs.io/en/stable/).

For more details on how to use Chainlink with Brownie, see the [Develop a DeFi Project Using Python](https://blog.chain.link/develop-python-defi-project/) blog post.

### Truffle Starter Kit

For the latest instructions, see the [Truffle Starter Kit](https://github.com/smartcontractkit/truffle-starter-kit) repository.

To learn more about Truffle, read the [Truffle Suite Documentation](https://trufflesuite.com/docs/).

For more details on how to use Chainlink with Truffle, see our blog post about [Using Truffle to interact with Chainlink Smart Contracts](https://www.trufflesuite.com/blog/using-truffle-to-interact-with-chainlink-smart-contracts).

### Foundry Starter Kit

For the latest instructions, see the following repositories:

- [Foundry Starter Kit](https://github.com/smartcontractkit/foundry-starter-kit)
- [Foundry Starter Kit (Huff)](https://github.com/smartcontractkit/huff-starter-kit)

To learn more about Foundry, read the [Foundry Documentation](https://book.getfoundry.sh/).

### Apeworx Starter Kit (Vyper)

For the latest instructions, see the [Apeworx Starter Kit](https://github.com/smartcontractkit/apeworx-starter-kit) repository.

To learn more about Truffle, read the [Apeworx Documentation](https://docs.apeworx.io/ape/stable/).

### Anchor Starter Kit (Solana)

For the latest instructions, see the [Chainlink Solana Starter Kit](https://github.com/smartcontractkit/solana-starter-kit) repository.

To learn more about Anchor, see the [Anchor Documentation](https://www.anchor-lang.com/).

## Testing Chainlink contracts

See our blog post on [Testing Chainlink Smart Contracts](https://blog.chain.link/testing-chainlink-smart-contracts/) or watch the [Chainlink Hackathon Workshop](https://www.youtube.com/watch?v=d8SqLaH8pu0).

Tests samples can be found on [Hardhat Starter Kit](https://github.com/smartcontractkit/hardhat-starter-kit/tree/main/test) and [Truffle Starter Kit](https://github.com/smartcontractkit/truffle-starter-kit/tree/master/test) respectively.