Default SDK
The default SDK is the standard Vix.cpp profile for normal development.
It provides the common Vix foundation used by ordinary projects, local experiments, single-file programs, and the first steps of a new Vix installation. It is the profile to install when you want a clean Vix.cpp environment without bringing in a specialized module family such as web, data, P2P, game, desktop, or agent tooling.
vix upgrade --sdk defaultYou can also install the default profile by omitting the profile name:
vix upgrade --sdkThe default SDK is intentionally small compared to the full SDK. It gives the CLI enough native support to build and run normal Vix projects, while keeping optional runtime dependencies out of the base installation.
Install the default SDK
Install the CLI first if it is not already installed.
Linux and macOS:
curl -fsSL https://vixcpp.com/install.sh | bashWindows PowerShell:
irm https://vixcpp.com/install.ps1 | iexThen install the default SDK:
vix upgrade --sdk defaultCheck the profile information before installing when you want to see the exact modules and notes for the current release.
vix upgrade --sdk info defaultWhat the default SDK includes
The default profile contains the common Vix foundation.
default
cli
core
json
error
path
fs
io
env
os
utils
log
async
time
process
threadpool
template
ui
noteThis is the layer used by the normal Vix command workflow. It gives you the core runtime, base utilities, filesystem and path support, environment helpers, logging, async primitives, process support, templates, UI foundations, and Note.
The default profile is not meant to be the full platform. It is the base SDK that keeps the first development environment focused.
Verify the installation
After installing the default SDK, check the CLI:
vix --versionInspect the installed SDK state:
vix upgrade --sdk list
vix upgrade --sdk info defaultCheck the local environment:
vix doctorPrint Vix paths and local state:
vix infoRun a simple file
Create a small file:
cat > main.cpp <<'CPP'
#include <vix.hpp>
int main()
{
vix::print("Hello from the default Vix SDK");
return 0;
}
CPPRun it:
vix run main.cppExpected output:
Hello from the default Vix SDKThis is the simplest verification path. If this works, the CLI can find the installed SDK and compile a normal Vix file.
Build without running
Use vix build when you only want to compile.
vix build main.cppFor a project, enter the project directory and build normally.
vix buildThe CLI resolves the local Vix environment and uses the installed SDK profile during the build. You do not need to manually wire SDK paths in ordinary Vix workflows.
Use it with a project
Create a project:
vix new app
cd appInstall project dependencies:
vix installStart development:
vix devOr build and run manually:
vix build
vix runThe default SDK is a good fit for this first project workflow. When the project later starts using a specialized module family, install the profile that matches that work.
When to use the default SDK
Use the default SDK for a normal Vix.cpp setup, small experiments, simple local applications, and learning the CLI workflow.
It is also the right starting point when you do not yet know which specialized profile the project will need. You can install another profile later without removing the default one.
vix upgrade --sdk web
vix upgrade --sdk dataMultiple SDK profiles can exist on the same machine.
When to choose another SDK
Move to the web profile when the project uses backend or network-facing modules such as middleware, WebSocket, validation, crypto, WebRPC, or vix::requests.
vix upgrade --sdk webMove to the data profile when the project uses database, ORM, key-value, or cache modules.
vix upgrade --sdk dataUse desktop, p2p, game, or agent when the project belongs to those workflows.
vix upgrade --sdk desktop
vix upgrade --sdk p2p
vix upgrade --sdk game
vix upgrade --sdk agentUse all when the machine needs the complete platform in one SDK tree.
vix upgrade --sdk allThe default profile is the base. Specialized profiles exist so the base installation does not carry every optional module and every optional system dependency.
Update the default SDK
Install or update the latest default SDK:
vix upgrade --sdk defaultPreview the update without changing files:
vix upgrade --sdk default --dry-runInstall a specific version:
vix upgrade --sdk default --version v2.7.0Use JSON output when the command is called from a script:
vix upgrade --sdk default --jsonRemove the default SDK
Remove the default profile when it is no longer needed:
vix uninstall --sdk defaultPreview the removal first:
vix uninstall --sdk default --dry-runRemove a specific version:
vix uninstall --sdk default --version v2.7.0List installed SDK profiles known to the uninstall command:
vix uninstall --sdk-listSystem dependencies
The default SDK still uses the native C++ toolchain underneath. You need a working compiler, CMake, Ninja, and the base system tools required by your platform.
The best way to check what the current release expects is:
vix upgrade --sdk info defaultInstall the dependencies shown by that command for your operating system. The default profile avoids specialized dependencies such as database connectors, WebView libraries, SDL, OpenGL, and P2P-specific libraries unless another profile is installed.
Common mistakes
Installing only the CLI
The CLI gives you the command surface, but the SDK profile gives the machine the native Vix layer used by build and run commands.
vix upgrade --sdk defaultRun this after installing the CLI on a fresh machine.
Starting with the full SDK when it is not needed
The full SDK is useful for advanced development and release validation, but it is not the normal starting point.
vix upgrade --sdk allFor a clean first setup, use the default SDK.
vix upgrade --sdk defaultInstall a specialized profile later when the project needs it.
Using a specialized module with the default SDK
The default SDK does not include every module family. If a project uses vix::requests, WebSocket, middleware, validation, crypto, or WebRPC, install the web profile.
vix upgrade --sdk webIf a project uses database, ORM, KV, or cache modules, install the data profile.
vix upgrade --sdk dataWhen unsure, inspect the profile before installing it.
vix upgrade --sdk info webDaily workflow
A simple default-SDK workflow looks like this:
vix new app
cd app
vix install
vix devBefore committing:
vix fmt --check
vix check --testsFor a release build:
vix build --preset releaseThe SDK stays behind the CLI workflow. You install it once, then use normal Vix commands.
Next step
Continue with the Web SDK when the project needs backend, WebSocket, WebRPC, middleware, validation, crypto, or outgoing HTTP requests.