https://www.youtube.com/watch?v=DTDP7WYU07w
Get you Operation System ready (Windows vs Linux|MacOS)
Install DFX (command line developer tooling for Internet Computer)
Goto
Run sh -ci "$(curl -fsSL [<https://internetcomputer.org/install.sh>)"](<https://internetcomputer.org/install.sh>)"
)` in the terminal
Install node (18.12.1 LTS) and package (8.19.2). I would suggest the installation of NVM (node version manager) instead:
curl -o- <https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh> | bash
.profil
, .bashrc
or .zshrc
(depending on your shell)nvm install lts/hydrogen
Check versions of installed tools:
node --version # v18.13.0
npm --version # 9.5.*
dfx --version # 0.14.0
nvm --version # 0.39.3
Install and setup VSCode
Install Motoko extension
Name: Motoko Id: dfinity-foundation.vscode-motoko Description: Motoko language support Version: 0.7.3 Publisher: DFINITY Foundation VS Marketplace Link:
https://marketplace.visualstudio.com/items?itemName=dfinity-foundation.vscode-motoko
Install WebAssembly extension
Name: WebAssembly Id: dtsvet.vscode-wasm Description: WebAssembly Toolkit for VSCode Version: 1.4.0 Publisher: WebAssembly Foundation VS Marketplace Link:
https://marketplace.visualstudio.com/items?itemName=dtsvet.vscode-wasm
Create a first project in a motoko_bootcamp
location
mkdir motoko_bootcamp
cd motoko_bootcamp
dfx new first_project
motoko_bootcamp/first_project
package.json
in the scripts
section remove the line that contains the prebuild
commandnpm install
so that the next step does not failfirst_project_backend
canister dfx canister create first_project_backend
npm generate
dfx start --clean
dfx deploy
(don’t worry this happens only locally)[STR] + [C]
in the first terminal that runs the local IC replica