Quick start
Build Web3, DeFi, fully network-resident social media, games, enterprise apps, and just about anything else you can imagine. Your projects are immune to cyberattacks and unstoppable.
Deploy in minutes using these steps.
- Linux
- macOS
- Windows
Prerequisites
Download and install Node.js.1. Install the IC SDK.
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
source "$HOME/.local/share/dfx/env"
Confirm the IC SDK has been installed:
dfx --version
2. Start dfx
.
dfx start --background
3. Create a new project.
The default project created by dfx
is "Hello, world!"
dfx new hello --type=motoko
Creates a new Motoko project. Options are [motoko, rust, azle, kybra].
4. Deploy your project.
cd hello
dfx deploy
5. Interact with your project.
Open the URL in your web browser that dfx
returned after deploying your
project.
Prerequisites
Download and install Node.js. Using HomeBrew is recommended. Apple silicon machines: Download and install Rosetta:softwareupdate --install-rosetta
1. Install the IC SDK.
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
source "$HOME/.local/share/dfx/env"
Confirm the IC SDK has been installed:
dfx --version
2. Start dfx
.
dfx start --background
3. Create a new project.
The default project created by dfx
is "Hello, world!"
dfx new hello --type=motoko
Creates a new Motoko project. Options are [motoko, rust, azle, kybra].
4. Deploy your project.
cd hello
dfx deploy
5. Interact with your project.
Open the URL in your web browser that dfx
returned after deploying your
project.
Prerequisites
Download and install Windows Subsystem for Linux. Download and install Node.js within your WSL environment.1. Install the IC SDK.
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
source "$HOME/.local/share/dfx/env"
Confirm the IC SDK has been installed:
dfx --version
2. Start dfx
.
dfx start --background
3. Create a new project.
The default project created by dfx
is "Hello, world!"
dfx new hello --type=motoko
Creates a new Motoko project. Options are [motoko, rust, azle, kybra].
4. Deploy your project.
cd hello
dfx deploy
5. Interact with your project.
Open the URL in your web browser that dfx
returned after deploying your
project.
Congratulations, you just created your first internet-native dapp!