diff --git a/package.json b/package.json index 652bc5978..4a921d4db 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "**/highlight.js": "10.7.2-local" }, "scripts": { - "init:contracts": "curl -L https://foundry.paradigm.xyz | bash && source ~/.bashrc && export PATH='~/.foundry/bin:${PATH}' && foundrup", + "init:contracts": "/bin/bash -c 'curl -L https://foundry.paradigm.xyz | bash && foundryup'", "test": "cd contracts && forge t", "compile:contracts": "cd contracts && forge b", "deploy:contracts": "yarn compile:contracts && node --experimental-json-modules client/scripts/deploy_contracts.mjs",