https://github.com/gilgames000/foundry-installer
A simple Node.js installer for the Foundry suite of tools.
https://github.com/gilgames000/foundry-installer
anvil cast ethereum forge foundry install installer solidity
Last synced: 3 months ago
JSON representation
A simple Node.js installer for the Foundry suite of tools.
- Host: GitHub
- URL: https://github.com/gilgames000/foundry-installer
- Owner: Gilgames000
- License: mit
- Created: 2023-06-05T11:38:01.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-05T13:49:38.000Z (about 2 years ago)
- Last Synced: 2025-03-11T00:05:26.728Z (3 months ago)
- Topics: anvil, cast, ethereum, forge, foundry, install, installer, solidity
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/foundry-installer
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# foundry-installer
A simple Node.js installer for the [Foundry](https://getfoundry.sh) suite of tools. Can be used to install `forge` (and the other tools) globally or within your local package to e.g. automate package scripts.
## Installation
To install locally:
```bash
$ npm install -D foundry-installer
```To install globally:
```bash
$ npm install -g foundry-installer
```## Installed executables
- forge
- anvil
- cast## Usage
You can use `foundry` in your package scripts like this:
```js
// package.json:{
...
"scripts": {
"build": "forge build"
}
}
```Alternatively, you can run the local `forge` executable using `npx`:
```bash
$ npx forge build
```If you installed the package globally it should be available in your PATH and you should be able to just run the commands from your terminal emulator.