What is the difference between interacting with console in truffle develop and in the root of my project

Trying to understand the functionality of truffle. How is it possible for me to interact from within the truffle develop in the console as shown below? And when I am in the root of my project I have to import web3 to start using Javascript to interact with my contract. what is the difference between truffle develop and normal console?

:computer: Environment

Truffle v5.2.2 (core: 5.2.2)
Solidity v0.5.16 (solc-js)
Node v12.19.0
Web3.js v1.2.9

:memo:Details

:1234: Code to reproduce

1 Like

Hi @Altaergo,

See the Truffle documentation: https://www.trufflesuite.com/docs/truffle/getting-started/using-truffle-develop-and-the-console

Essentially Truffle Develop spins up a development blockchain and you have access to all the truffle commands and web3.

You can also ask the Truffle community: https://www.trufflesuite.com/community