I want to deploy a new Internet Computer (IC) dApp on an existing canister that I previously used to deploy another application. I am the controller of this canister

I want to deploy a new Internet Computer (IC) dApp on an existing canister that I previously used to deploy another application. I am the controller of this canister.

1 Like

dfx canister --ic install <canister id> --wasm <path/to/app.wasm> --mode reinstall will install new code. You can also set the canister id in canister_ids.json. Then dfx deploy will automatically go to that canister. In that case I would suggest that you first dfx canister uninstall.

will the old app deployed stop working?

1 Like

Yes, if you replace the old app then it will disappear

could you check this :star2: